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 2017/07/03 21:52:36 UTC

[Bug 61247] New: Unable to gracefully shut down server

https://bz.apache.org/bugzilla/show_bug.cgi?id=61247

            Bug ID: 61247
           Summary: Unable to gracefully shut down server
           Product: Tomcat 9
           Version: 9.0.0.M22
          Hardware: Macintosh
                OS: other
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: spam.esaron@gmail.com
  Target Milestone: -----

Created attachment 35094
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35094&action=edit
The catalina.out log after startup/shutdown

After downloading 9.0.0.M22, verifying the hash, extracting, and running the
/bin/startup.sh script, everything seems to start up fine. Subsequently running
the /bin/shutdown.sh script looks fine to me, (based on the output and content
of the catalina.out file,) but the Bootstrap process is still running. Running
the shutdown script again seems to produce output that would be expected if the
server were actually shut down.

This happens out of the box with nothing but the default webapps deployed. This
does not happen for me on Tomcat 8.5.16.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61247] Unable to gracefully shut down server

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61247

--- Comment #3 from Remy Maucherat <re...@apache.org> ---
It's probably a consequence of r1798977 that Rainer got fixed after testing
M22. It's too much of a coincidence that someone files a bug with this behavior
on this release IMO. It would be fixed in M23 if that's the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61247] Unable to gracefully shut down server

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61247

--- Comment #5 from Violeta Georgieva <vi...@apache.org> ---
Hi,

Take a thread dump. If you see a thread with a name "pool-1-thread-1" then this
is the issue reported here [1] and fixed with this change [2] which will be
available in 9.0.0.M23.

Regards,
Violeta

[1] http://marc.info/?l=tomcat-dev&m=149859299011130&w=2
[2] r1800136

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61247] Unable to gracefully shut down server

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61247

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |WORKSFORME

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
Correct resolution.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61247] Unable to gracefully shut down server

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61247

--- Comment #4 from esaron <sp...@gmail.com> ---
Created attachment 35095
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35095&action=edit
Startup/shutdown after updating to Java 1.8.0_131-b11

Updating to the newest version of Java (1.8.0_131-b11) did not resolve the
issue. This is not blocking me, so it can remain closed, as it does seem to be
environmental given your previous tests. I'll try again with M23 when it is
available for download.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61247] Unable to gracefully shut down server

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61247

Mark Thomas <ma...@apache.org> changed:

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

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
This works for me without any issues so it is most likely an environmental
issue. I have the same OS version but a slightly newer Java so an update to the
latest Java version is probably the first thing to try.

If you still have problems, the users list is the best place to seek further
help.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org