Tomcat 5.0.16 DBCP Connection Pool Exhausted Error

2003-12-15 Thread Kausik Dey
Hi Guys, Currently I am using 5.0.5 in production. I was trying to upgrade to 5.0.15 or 5.0.16. I made necessary changes to server.xml to create informix DBCP. Unfortunately, I am getting Connection Pool Exhausted error while trying to obtain the connection from Datasource. Is it a bug in these

Re: Tomcat 5.0.16 DBCP Connection Pool Exhausted Error

2003-12-15 Thread Kwok Peng Tuck
Hmm maybe you are not returning connections after using them ? In the tomcat docs they do give a pattern you could use in your code, like try { }catch(SQLException e) { }finally { try { //Perform your close statements here. }catch(SQLException e) { } } HIH .

Re: Tomcat 5.0.16 DBCP Connection Pool Exhausted Error

2003-12-15 Thread Philipp Taprogge
Kausik Dey wrote: Hi Guys, Currently I am using 5.0.5 in production. I was trying to upgrade to 5.0.15 or 5.0.16. I made necessary changes to server.xml to create informix DBCP. Unfortunately, I am getting Connection Pool Exhausted error while trying to obtain the connection from Datasource.

Re: Tomcat 5.0.16 DBCP Connection Pool Exhausted Error

2003-12-15 Thread Kwok Peng Tuck
Isn't removeAbandoned deprecated ? If so is it still usable ? Hmm... are you getting the error right away or only after a few requests? Hard to say anything without further information. It is always a good idea to make sure you properly close all Statements, ResultSets anc Connections

Re: Tomcat 5.0.16 DBCP Connection Pool Exhausted Error

2003-12-15 Thread Kausik Dey
: Monday, December 15, 2003 8:44 PM Subject: Re: Tomcat 5.0.16 DBCP Connection Pool Exhausted Error Isn't removeAbandoned deprecated ? If so is it still usable ? Hmm... are you getting the error right away or only after a few requests? Hard to say anything without further information

Re: Tomcat 5.0.16 DBCP Connection Pool Exhausted Error

2003-12-15 Thread Philipp Taprogge
Hi! Kwok Peng Tuck wrote: Isn't removeAbandoned deprecated ? If so is it still usable ? I can't find a word about it being deprecated on http://jakarta.apache.org/commons/dbcp/configuration.html I am using this parameter quite successfully. Phil

Re: Tomcat 5.0.16 DBCP Connection Pool Exhausted Error

2003-12-15 Thread Kwok Peng Tuck
This is where I saw it : http://jakarta.apache.org/commons/dbcp/apidocs/org/apache/commons/dbcp/AbandonedConfig.html But I think the code is still in there, just marked as deprecated :D Philipp Taprogge wrote: Hi! Kwok Peng Tuck wrote: Isn't removeAbandoned deprecated ? If so is it still

Re: DBCP - connection pool exhausted

2002-10-28 Thread p200002
- Original Message - From: neal [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, October 27, 2002 11:20 PM Subject: RE: DBCP - connection pool exhausted Thanks for the tips! You are right. I may not have been releasing the connection objects properly. I

Re: DBCP - connection pool exhausted

2002-10-28 Thread p200002
check tomcat's jdbc datasource how-to. there is an example for oracle thin. do what it says. - Original Message - From: neal [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, October 27, 2002 11:20 PM Subject: RE: DBCP - connection pool exhausted Thanks

DBCP - connection pool exhausted

2002-10-27 Thread neal
Does anyone know what causes this error when using DBCP for database connection pooling? DBCP could not obtain an idle db connection, pool exhausted Currently, I have maxActive users set to 100, and currently there are only 2 people using the site (still in testing). Here's my server.xml config

Re: DBCP - connection pool exhausted

2002-10-27 Thread p200002
PROTECTED] Sent: Sunday, October 27, 2002 10:34 PM Subject: DBCP - connection pool exhausted Does anyone know what causes this error when using DBCP for database connection pooling? DBCP could not obtain an idle db connection, pool exhausted Currently, I have maxActive users set to 100

RE: DBCP - connection pool exhausted

2002-10-27 Thread neal
. Please tell me if that's incorrect. Thanks. Neal -Original Message- From: p22 [mailto:p22;hotmail.com] Sent: Sunday, October 27, 2002 6:56 PM To: Tomcat Users List Subject: Re: DBCP - connection pool exhausted 1. make sure that you have closed all the resultset, stmt

Re: DBCP - connection pool exhausted

2002-10-27 Thread Kwok Peng Tuck
You are right. I may not have been releasing the connection objects properly. I was presuming that a JSP would release it when the page was complete. Guess not??? Yes it seems to look like you have to close connections that you accquire from DBCP. I haven't used DBCP before but based on