RE: [DBCP] PerUserPoolDataSource

2007-05-10 Thread Srinath Narasimhan
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

[DBCP] PerUserPoolDataSource

2007-05-09 Thread Srinath Narasimhan
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,

Re: [DBCP] PerUserPoolDataSource

2007-05-09 Thread Phil Steitz
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

[DBCP] PerUserPoolDataSource - Problem with changing passwords

2005-11-27 Thread Andreas Kohlbecker
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

[dbcp] PerUserPoolDatasource

2005-09-01 Thread Sean Campbell
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));

[dbcp] PerUserPoolDataSource

2005-08-29 Thread Sean Campbell
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) :