public static JODBSessionContainer[] getContainerForFile(File file) throws IOException
{
JODBSessionContainer[] sessionContainers = new JODBSessionContainer[2];
JODBServer server = JODB.openServer(file);
SessionCloseListenerImpl closeListener = new SessionCloseListenerImpl(server);
JODBSessionContainer container = (JODBSessionContainer) JODB.openClient("//127.0.0.1",null, "rw", new ResolverImpl());
container.addCloseListener(closeListener);
sessionContainers[0] = container;
container = (JODBSessionContainer) JODB.openClient("//127.0.0.1",null, "rw", new ResolverImpl());