Boris Folgmann wrote:
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.
I believe that if you set up "connection verification query" in your DataSource definition in server.xml it will reconnect. Haven't tried it, though.

Nix.



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

Reply via email to