Hi All
Please update the code in
org.logicalcobwebs.proxool.ConnectionPoolDefinition
Method: private boolean doChange(String url, Properties info, boolean
pretend, boolean implicitRegister) throws ProxoolException
Original Code snippet:
if (info != null) {
Iterator i = info.keySet().iterator();
while (i.hasNext()) {
String key = (String) i.next();
String value = info.getProperty(key);
changed = changed | setAnyProperty(key, value, pretend);
if (!pretend) {
completeInfo.setProperty(key, value);
}
}
}
To
if (info != null) {
Enumeration enumeration = info.propertyNames();
while (enumeration.hasMoreElements()) {
String key = (String) enumeration.nextElement();
String value = info.getProperty(key);
changed = changed | setAnyProperty(key, value, pretend);
if (!pretend) {
completeInfo.setProperty(key, value);
}
}
}
As this will take into account the default (if any) properties contained
in the info
Regards
Vinu
--
Vinu Varghese
My Email : vin...@gm... <mailto:vin...@gm...>
My Web : http://itsmevinu.spaces.live.com/
------------------------------------------------------------------------
X /minds /
*Solutions Unfolded*
[www.x-minds.org <http://www.x-minds.org>]
*I use mozilla Thunderbird. Do you ?*
|