Tnks Filip.

But i allready try that solution, and the problem continues....



Filip Hanik - Dev Lists wrote:
> 
> use the validationQuery attribute for your connection pool.
> 
> the validationQuery executes a query against the database before the 
> connection is returned to the application, and validates that the 
> connection actually works
> 
> Filip
> 
> 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
>>   
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-and-Database-Problem-tp22658620p22660822.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to