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 2007/12/02 06:28:25 UTC

DO NOT REPLY [Bug 44006] New: - Tomcat hangs on shutdown

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=44006

           Summary: Tomcat hangs on shutdown
           Product: Tomcat 6
           Version: 6.0.14
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: cowwoc@bbs.darktech.org


JDK 1.7.0-b23 (32-bit build)
Quad-core 64-bit CPUs
Windows Vista 64-bit

Tomcat seems to hang randomly (approximately 10% of the time) on shutdown if I run:

net start tomcat6
net stop tomcat6 (this fails)

I have the following clues for you:

1) This is not reproducible using startup.bat/shutdown.bat scripts.
2) This is not reproducible without APR.
3) I didn't run into this problem back when I was running Tomcat 6.0.13, single
core 32-bit CPU, same JDK build, with APR installed. Unfortunately, I can't go
back to this hardware because it's gone.
4) The last line in the log reads: "INFO: Stopping Coyote HTTP/1.1 on http-80"
so it looks like it was in the middle of shutting down but something caused it
to hang.

I wanted to debug this further unfortunately I'm not sure how to get you guys a
stack-trace or thread-dump when running Tomcat as a service.

I suspect that something in the native libraries (APR) is at fault. Consider the
fact that I moved to a multi-core CPU, perhaps the APR code has some sort of
race condition that is triggering this. Can you please suggest how I can
generate more debug information for you to investigate? Ideally I'd like to get
a thread-dump at the time of the hang.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 44006] - Tomcat hangs on shutdown

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=44006


markt@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From markt@apache.org  2007-12-20 14:23 -------
This issue needs further debugging to identify where the root cause is. The best
place for you to get help with this is on the users mailing list. Please feel
free to re-open this issue if you track down the root cause to a Tomcat issue.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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