tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CutKiller <>
Subject Re: Tomcat and Database Problem
Date Mon, 23 Mar 2009 14:45:43 GMT

If I raise the timeout value in the firewall parameters the connection
problem was solved.... but i don't have permissions to do that in real

The connections are dead, but this connections stays in tomcat pool with no
problems. Tomcat, in a perfect scenario, should recognize the loss of
connection, and create a new one.

I need this connections anytime.

David Smith-2 wrote:
> CutKiller wrote:
>> Hi all I have this scenario: 
>> |Tomcat| -> |Firewall| -> |Database| 
>> Sometimes the connection to the database is lost. The cause of this fact
>> maybe lives in the Firewall. But, the major problem, resides in Tomcat.
>> He
>> doesn't recognize the connection break. What can i do, for Tomcat knows
>> when
>> the connections break? 
>> Best Regards, 
>> Rodrigo
> Can you provide a bit more context for when/how you use connections and
> how you expect tomcat to recognize when connections break?  In general
> webapp code retrieves a connection, does it's business and then closes
> the connection to return it to the pool in the smallest reasonable space
> .. the whole cycle done and over with by the time your webapp is
> finished with the current request if not sooner.
> --David
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message