Thanks. I updated again and I have it.
-Original Message-
From: Phil Steitz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 09, 2007 9:39 PM
To: Jakarta Commons Developers List
Subject: Re: [DBCP] PerUserPoolDataSource
They are there in the datasources package, e.g.
http
Hi,
Has the PerUserPoolDataSource and its factory removed from the dbcp
project? I got the latest source from subversion and it is missing.
Thanks
Srinath.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
They are there in the datasources package, e.g.
http://svn.apache.org/repos/asf/jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/PerUserPoolDataSource.java
Phil
On 5/9/07, Srinath Narasimhan [EMAIL PROTECTED] wrote:
Hi,
Has the PerUserPoolDataSource and its
the DBCP PerUserPoolDataSource as GlobalNamingResource in
tomcat 5.5. Users have the option to change the password by a special
webpage. After a password has been changed, access to the database fails
because the password stored in the connection pool differs now from
the newly chosen password
I found a need for the following method and added it to my local source.
It seems to do the trick for me.
public void closePoolPerUser(String user,String password)
{
if(getNumActive(user,password) == 0){
try{
((ObjectPool)pools.get(getPoolKey(user))).close();
pools.remove(getPoolKey(user));
Hi,
I would like to get information on how i can get commit
priveledges for dbcp or submit a patch. I need a way to
close pools per user. As far as i can tell you can only
close all of the pools in the datasource.
I believe the following may be useful (unless I have missed a way to do
this) :