String dbUrl="-unknown-" ;
Connection jdbcConnection = null;
Statement statement = null;
try {
InputStreamProvider streamProvider = getInputStreamProvider(state.url(), state.storage(), method);
IDatabaseConnection connection = new DatabaseDataSourceConnection(new InitialContext(),
"java:jboss/datasources/RHQDS");
jdbcConnection = connection.getConnection();
dbUrl = jdbcConnection.getMetaData().getURL();
System.out.println("Using database at " + dbUrl);