tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Mock <dave_mock2...@yahoo.com>
Subject Re: DB Connection
Date Mon, 26 May 2003 21:13:36 GMT
b carefull when using DBCP
always remember to close the
ResultSet/Statement/PreparedStatement and last but not
least - the Connection object



> >  The funny thing is this:
> > it works quite well for some time, but as soon as
> load on the app increases
> > the error appears. I therefore thought it must be
> related to the number of
> > open transactions but I am not sure.
 
- edited -

> I''d say your custom code isn't handling the DB
> connections too well, look 
> into setting up a JNDI datasource and use DBCP,
> there is some documentation 
> on this at:
>  
>
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

---------------------------------------------------------------------
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