Davide Emanuele Denicolo wrote:

> My problem is that when the connection between tomcat and sql server has 
> broken or SQL gets down,I receive this message to browser
How about to use the validationQuery attribute in the connection-pool element of
the repository_database.xml like this:

<connection-pool whenExhaustedAction="2" maxActive="21" validationQuery="select
count(*) from datenklasse" />

Since we use this solution we solved our problem with lost connections.


Regards,

Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to