tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From psalazar <pedro-b-sala...@ptinovacao.pt>
Subject Re: tomcat+dbcp+restart database=no valid connections!?
Date Tue, 22 Oct 2002 11:32:25 GMT
I got it! 
I must define a 'validationQuery' or the connections won't be tested.

thanks,
Pedro Salazar.

On Tue, 22 Oct 2002, psalazar wrote:

> Greetings,
> 
> I have tomcat 4 working with dbcp 1.0. Apparently when I restart my 
> database (postgresql), all the next returned connections throw
> exceptions 
> (java.net.SocketException: Broken pipe)!!
> 
> The dbcp hasn't a connection recover or something like that??
> 
> thanks,
> Pedro Salazar.
> 
> 



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message