All of a sudden I have gotten several emails concerning tomcat. All I
wanted to do was to get to petedge.
Jackie
----- Original Message -----
From: "albert quinn" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, November 29, 2007 4:26 PM
Subject: Re: [Tomcat 5.5.17] Strange Problem With Batabase Connection Pool
It could be. I'm really lost, and have no idea about what is happening.
I forgot to tell that, when I call the web service after about an
hour of inactivity and it waits forever at the 3th line, if i call the
web service again, it works nice and it keeps on working nice (except
if I wait about an hour again). So, it could be what you say.
Any URL where I can learn about the DBCP configuration and how to
set testOnBorroy to true?.
MANY thanks for your help with this strange behaviour!!.
2007/11/29, Mark Thomas <[EMAIL PROTECTED]>:
albert quinn wrote:
> The lines 1 and 2 are executed, but the 4th line is never reached.
> Any idea of what could be happening here or how could I do to discover
> what's happening? does it seems to be a bug on my code or a setup
> problem?
Could you database connection be timing out due to inactivity? It is
worth
adding a validation query to your DBCP configuration and setting
testOnBorrow to true.
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]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.10/1159 - Release Date:
11/29/2007 11:10 AM
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]