DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13765>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13765

fail to reconnect after the database was down and back up again.

           Summary: fail to reconnect after the database was down and back
                    up again.
           Product: Struts
           Version: 1.0.2 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Controller
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


After database is down and backup again, the socket connection is got lost. One 
solution is to trying to call destroyDataSources() and initDataSources() in 
ActionServlet. However, it did not work. The problem is in open() method of 
GenericDataSource. It did not remove old Connection objects before it addLast() 
the new connections to the connections list. A fix is to close all the old 
connection objects in the connections list and remove them. Them addLast() the 
new connection objects.

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to