// myPool = new ConnectionProviderImpl(strPoolFile,
// (!strPoolFile.startsWith("/") &&
// !strPoolFile.substring(1,1).equals(":")), strContext);
// Now pool take datasources from a JNDI resource file
if (isJNDIModeOn) {
myPool = new JNDIConnectionProvider(strPoolFile,
(!strPoolFile.startsWith("/") && !strPoolFile.substring(1, 1).equals(":")));
} else {
myPool = ConnectionProviderContextListener.getPool(config.getServletContext());
}
} catch (Exception e) {