tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hermansen, Erik" <>
Subject Tomcat 5.5.25 takes 5 minutes to shut down.
Date Mon, 24 Sep 2007 19:33:05 GMT

I'm running Tomcat 5.5.25 on SLED 10.  I performed the installation of Tomcat manually, using
the apache-tomcat-5.5.25 archive from Apache's website.  Tomcat will start fine and operate
as expected, but shutting down is unreliable and often takes about 5 minutes to complete.
 If I run the $CATALINA_BASE/bin/ script, it will return immediately without errors,
but checking for the process ("ps aux | grep tomcat") shows it is still loaded for a long
amount of time after the script is called.  On a different server with identical hardware
and very similar tomcat installation, the shutdown script will bring Tomcat down in about
3 seconds.

Reading through catalina.out, I find this error which corresponds to calling the

SEVERE: Protocol handler pause failed Connection timed out
        at Method)
        at org.apache.jk.common.ChannelSocket.unLockSocket(
        at org.apache.jk.common.ChannelSocket.pause(
        at org.apache.jk.server.JkMain.pause(
        at org.apache.jk.server.JkCoyoteHandler.pause(
        at org.apache.catalina.connector.Connector.pause(
        at org.apache.catalina.core.StandardService.stop(
        at org.apache.catalina.core.StandardServer.stop(
        at org.apache.catalina.startup.Catalina.stop(
        at org.apache.catalina.startup.Catalina.start(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
        at java.lang.reflect.Method.invoke(
        at org.apache.catalina.startup.Bootstrap.start(
        at org.apache.catalina.startup.Bootstrap.main(
Sep 19, 2007 3:11:55 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Sep 19, 2007 3:11:56 AM org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Sep 19, 2007 3:11:56 AM org.apache.catalina.core.AprLifecycleListener lifecycleE
INFO: Failed shutdown of Apache Portable Runtime

I've found a couple similar cases where people had this problem.  They resolved it by doing
something with their network configuration, but in both cases the description of their solution
was very vague, so I'm not sure how I could proceed.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message