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>