//config.getDatasourceConnectionPool().remove(name);
DataSource ds=null;
try {
ds = new DataSourceImpl(name,classname,host,dsn,database,port,username,password,connLimit,connTimeout,metaCacheTimeout,blob,clob,allow,custom,false,validate,storage,null, dbdriver);
} catch (ClassException e) {
throw new DatabaseException(
"can't find class ["+classname+"] for jdbc driver, check if driver (jar file) is inside lib folder ("+e.getMessage()+")",null,null,null);
}
if(verify)_doVerifyDatasource(classname,ds.getDsnTranslated(),username,password);
//print.out("limit:"+connLimit);