struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lowe <mark.l...@boxstuff.com>
Subject Re: Connection Pooling
Date Tue, 06 Apr 2004 16:20:29 GMT
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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>


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


Mime
View raw message