If your using the version 3 mysql driver don't.. Use version 2 and never look back.

There also a ?autoReconnect=true parameter to pass through with the url, but i think thats bollocks or at least didn't work with version3 mysql drivers.

On 6 Apr 2004, at 18:08, Marcelo Epstein wrote:

Hi,

I have just started using Connection Pooling in my app (Tomcat, Struts, DBCP, Mysql) .
It woks for about 20 hours and stop working until tomcat restart.


I get this exception:

org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted, cause:
java.util.NoSuchElementException: Timeout waiting for idle object


I canīt fix it. Any advice??

Thanks in advance.
Marcelo



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to