// Grab the connection created and do a simple Query - we expect a result
try {
ctx = new InitialContext();
MockDataSource mds = new MockDataSource(this);
String dataSourcename = Configuration.getStoreDBDatasourceName();
ctx.rebind(dataSourcename, mds);
} catch (NamingException e) {
logger.debug("", e);
fail(e.getMessage());
} catch (Exception e) {