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: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to