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=13973>.
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=13973

Tomcat shutdown Loop





------- Additional Comments From [EMAIL PROTECTED]  2002-10-28 21:14 -------
Hi Pierfranco,

I'm going to attach a new build of the Struts 1.0.2 jar file with a simple fix
for this problem.  Could you test against this new jar and let me know if this
solves the problem for you?

I figured the quickest way to stop new connections is to set the maxcount to 0.
So, the only modifications I made to the 1.0.2 source is as follows:

org.apache.struts.util.GenericDataSource: (630)
        // Shut down all active connections
        while (activeCount > 0) {
        setMaxCount( 0 );      <============= Here
            GenericConnection conn = (GenericConnection) getConnection();
            conn.getConnection().close();
            activeCount--;
        }


Thank you for your help.

--
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