Howdy, This would likely be an implementation detail, not specified by the JNDI interface contract (at least at this point in time). In fact, an implementation that does this would claim it as a competitive advantage.
I believe the Oracle JDBC driver and connection pool (ojdbc14.jar in the Oracle JDBC 9.2.0.1 downloaded) does do this type of thing, or at least claims to do it. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Boris Folgmann [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, January 28, 2003 11:57 AM >To: Tomcat Users List >Subject: Re: Can the JNDI Connection Pool re-connect after failure? > >Ryan Cornia wrote: > >> Anyone using JNDI datasources that reconnect in case of a lost link to >> the DB server? >> >> Any examples? I'm using the I-net driver for Oracle > >Interesting question. In fact I have the same problem, using DBCP and >PostgreSQL. I looked trough the Javadocs at >http://jakarta.apache.org/commons/dbcp/api/index.html >but did not find a resource argument for configuring something like a >reconnect. Any comments welcome. > >cu, > boris > >-- >Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] >Folgmann IT-Consulting http://www.folgmann.de > > >-- >To unsubscribe, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
