struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Martin <>
Subject RE: GenericDataSource Reconnection
Date Tue, 01 May 2001 23:15:18 GMT
I am facing the same problem.  I use Interbase, and the connection goes down
from time to time for maintenance.  I was trying to build a test case to
present because I was worried I was the only one seeing this problem, in
case it was just my JDBC Driver not reporting it.

Restarting Tomcat is the only workaround I have right now.  This is not my
favorite way to handle it, obviously.  I too would be interested in any
other methods.


-----Original Message-----
From: Vivek Bhaskaran []
Sent: Tuesday, May 01, 2001 4:18 PM
Subject: GenericDataSource Reconnection

Hi People....
    I was looking through the implementation of the javax.sql.DataSource
(inside the org.apache.struts.util) package. One think I am facing with that
mysql disconnects after a specified period of timeout. So the DB Pool gets

I was about to go ahead and add some code to the GenericDataSource to check
for the conneciton before giving it to a consumer.

Now my question is has this already been done? I did take a look at the
WebCVS and could not find anything to that repect.... Is this something that
needs to be done ?


View raw message