You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/02/12 16:33:41 UTC

DO NOT REPLY [Bug 17000] New: - [PATCH] Allow System.exit to be called if non-daemon threads exist on shutdown

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

[PATCH] Allow System.exit to be called if non-daemon threads exist on shutdown

           Summary: [PATCH] Allow System.exit to be called if non-daemon
                    threads exist on shutdown
           Product: Tomcat 5
           Version: 5.0.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: funkman@joedog.org


Attached is a patch to StandardServer (and LocalStrings.properties) to allow
System.exit to be called in the scenario non-daemon threads are running after a
shutdown. 

This behavior is active ONLY if explicitly turned on by setting a new property
in StandardServer called shutdownWait. This value represents the number of
seconds to sleep (in another non-daemon thread) before calling System.exit.

If accepted - I will go through the effort of submitting patches to work with
the admin app.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org