String extraParms=";LOCK_MODE=0;DB_CLOSE_ON_EXIT=TRUE;FILE_LOCK=NO";
File dbRoot=new File(ConfigUtils.getDynamicContentPath() + File.separator + "h2db/" + x + "/cache_db" + x + extraParms);
String dbRootLocation=dbRoot.getAbsolutePath();
String connectURI="jdbc:h2:split:nio:"+dbRootLocation;
JdbcConnectionPool cp = JdbcConnectionPool.create(connectURI, "sa", "sa");
cp.setMaxConnections(1000);
cp.setLoginTimeout(3);
addConPoolToPoolMap(x, cp);
//make sure we can connect
conn = createConnection(true,x);
}catch (Exception e) {
Logger.fatal(this, "Unable to start db properly : " + e.getMessage(),e);