With the MySQL driver, you can configure the driver to "AutoReconnect" a
la...


<ResourceParams ...>

  ...

  <parameter>
    <name>AutoReconnect</name>
    <value>true</value>
  </parameter>

  ...

</ResourceParams>


I'm not sure whether the "parameter" functions as a Tomcat datasource
parameter or MySQL driver parameter.  I've never done it with an Oracle
driver.

-----Original Message-----
From: Ryan Cornia [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 07:43
To: >
Subject: Can the JNDI Connection Pool re-connect after failure?


I have set a JNDI connection pool up in server.xml that works, however
if the database server goes down, it doesn't re-connect when it comes
back up.

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.

Thanks,
Ryan






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

Reply via email to