tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hassan Schroeder" <>
Subject Re: tomcat can not connect to MySql
Date Sat, 22 Sep 2007 16:23:33 GMT
On 9/22/07, fdehghani <> wrote:
> but when running its service, after sometime when run my project,tomcat say
> that can not connect to database(SystemException)
> then i should restart its service to work correctly.
> i'm not sure thet its tomcat's problem or MySql

If a TC restart "fixes" it, the problem is almost certainly your app :-)

Sounds like you're not closing connections somewhere. If you're
using connection pooling, set the pool size to 1 and you'll find the
problem pretty quickly...

Hassan Schroeder ------------------------

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message