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/10/30 04:31:29 UTC

DO NOT REPLY [Bug 24238] New: - Tomcat WIndows service very slow to stop (delay > 1 minute)

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

Tomcat WIndows service very slow to stop (delay > 1 minute)

           Summary: Tomcat WIndows service very slow to stop (delay > 1
                    minute)
           Product: Tomcat 5
           Version: 5.0.12
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Native:Integration
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: paul@tourplan.com


JVM: 1.4.2_01.  Tomcat running standalone (no web server).

I have tomcat installed as a Windows service.  The problem is that it takes over
1 minute to stop the Tomcat service.  Here is an extract from stdout.log taken
when a service restart was requested:

30/10/2003 16:15:30 org.apache.catalina.logger.LoggerBase stop
INFO: unregistering logger Catalina:type=Logger
30/10/2003 16:16:36 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080


The entry at 16:15:30 is the final one from the tomcat shutdown sequence, and
the one at 16:16:36 is the first of the startup sequence.  The question is, why
is there a gap of over a minute between these two events (there is no obvious
activity reported by taskmgr in either java.exe or tomcat.exe).  It is clear
that this time is in the shutdown sequence form what is displayed by WIndows as
it stops the service then starts it again.  I also noticed smoething similar
when runing Tomcat 5 as an application from the Dos prompt.  After shutdown the
DOS window in which Tomcat was running didn't disappear. 

Cheers, Paul (paul@tourplan.com).

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