* some other reason.
*/
@Override
public void initModule() throws ModuleInitializationException {
try {
Server s_server = getServer();
defaultPoolName = this.getParameter("defaultPoolName");
if (defaultPoolName == null || defaultPoolName.equalsIgnoreCase("")) {
throw new ModuleInitializationException("Default Connection Pool "
+ "Name Not Specified",
getRole());
}
logger.debug("DefaultPoolName: " + defaultPoolName);
String poolList = this.getParameter("poolNames");
// Pool names should be comma delimited
String[] poolNames = poolList.split(",");
// Initialize each connection pool
for (int i = 0; i < poolNames.length; i++) {
DatastoreConfig config =
s_server.getDatastoreConfig(poolNames[i]);
jdbcDriverClass = config.getParameter("jdbcDriverClass");
dbUsername = config.getParameter("dbUsername");
dbPassword = config.getParameter("dbPassword");
jdbcURL = config.getParameter("jdbcURL");
maxActive =