Hi,

I am getting a strange behavior when getting connections from a datasource. 
LetÂs assume we have a datasource with a minimum pool size of 20 and 
getConnection(user1, password1) was invoked already. At this point thereÂs a 
total of 20 managed connections in the pool. But if I invoke getConnection 
again on the same datasource, but with different user and password, e.g. 
getConnection(user2, password2), then all the managed connections previously 
created are destroyed by the InternalManagedConnectionPool and then a new 
managed connection for user2 is created.

Does anyone have any idea how to solve this problem ?

Thanks in advance,
DÃrio Oliveros


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867103#3867103

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867103


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to