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:40:26 GMT
I had the same.. I ditched version 2 and haven't had any problems since.


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

> Mark,
>
> I am using Mysql Driver version 3. What´s the problem of this "stable" 
> driver. ??
> I will give a try version 2. But I really cant understand why..
>
> Thanks...
>
>
>
>
> On Tue, 6 Apr 2004 18:20:29 +0200, Mark Lowe <mark.lowe@boxstuff.com> 
> escreveu:
>
>> De: Mark Lowe <mark.lowe@boxstuff.com>
>> Data: Tue, 6 Apr 2004 18:20:29 +0200
>> Para: "Struts Users Mailing List" <user@struts.apache.org>
>> Assunto: Re: Connection Pooling
>>
>> 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
>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> 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