Thanks Thomas, validationQuery method seems  promising. I will configure and
see if  the issue is still there when the db server reboot. Thanks a lot.

On Mon, Jun 9, 2008 at 1:21 PM, Mark Thomas <[EMAIL PROTECTED]> wrote:

>
> Htin Kyaw Nyo wrote:
>
>> Hi
>>
>> I am using tomcat55 and ojdbc14_g and tomcat connection pooling. I am
>> getting this error when i leave tomcat run for a couple of days. I
>> searched
>> around the internet and people blaming firewall and connection issues by
>> db
>> server. here is a brief error:
>> java.sql.SQLException: Io exception: Connection reset by peer: socket
>> write
>> error
>>
>
> http://commons.apache.org/dbcp/configuration.html
>
> Look for validationQuery
>
> Mark
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to