tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anastasios Angelidis <voo...@videotron.ca>
Subject Re: DBCP + Tomcat Issues?
Date Mon, 26 Jul 2004 18:41:28 GMT
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations

Look at the link. Make sure you are closing the connections.

Anastasios Angelidis wrote:

> What are the sql exceptions?
>
> Looks like the connections arent beeing released in the connection 
> pool. Eventually they all are beeing used.
>
> Rahman Syed wrote:
>
>> Hello,
>>
>>
>>
>> I realize this may not be the best place to ask but I'll give it a shot.
>> I'm using DBCP in a Struts application to make requests to MySQL DB and
>> simply return results for Select queries.  The application works fine 
>> for a
>> while then for some reason stops; it throws SQLExceptions whenever I 
>> try to
>> create a Statement.  If I restart Tomcat, things are fine again.
>>
>>
>>
>> Might be a shot in the dark to ask here, but does anyone have any idea?
>> Thanks in advance.
>>
>>
>> Rahman
>>
>>
>>  
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message