[ http://issues.apache.org/jira/browse/COCOON-631?page=all ] Helma van der Linden reopened COCOON-631: -----------------------------------------
reopened just to set the resolution to fixed > The Cocoon Servlet does not shutdown properly under Tomcat > ---------------------------------------------------------- > > Key: COCOON-631 > URL: http://issues.apache.org/jira/browse/COCOON-631 > Project: Cocoon > Type: Bug > Components: * Cocoon Core > Versions: 2.1.8-dev (Current SVN) > Environment: Operating System: All > Platform: All > Reporter: Antonio Gallardo > Assignee: Cocoon Developers Team > Attachments: catalina.out > > In a Tomcat 4.1.18 environment, the Cocoon Servlet prevents to shutdown > properly > Tomcat. > Current platform: > Sun Java 1.4.1_01 > Tomcat 4.1.18 > Red Hat Linux 8.0 > After using the command: > kill -QUIT <java_pid> > Please note that this command does not end the process. Tomcat still does not > shutdown and on the log/catalina.out file we see: > Full thread dump Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode): > "DestroyJavaVM" prio=1 tid=0x0x870fa18 nid=0x1b12 waiting on condition > [0..bfffc6a0] > "Thread-16" daemon prio=1 tid=0x0x83034b0 nid=0x1b37 in Object.wait() > [5b42c000..5b42c830] > at java.lang.Object.wait(Native Method) > - waiting on <0x4d0b56b8> (a > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable) > at java.lang.Object.wait(Object.java:426) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:509) > - locked <0x4d0b56b8> (a > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable) > at java.lang.Thread.run(Thread.java:536) > "Thread-9" daemon prio=1 tid=0x0x82f0930 nid=0x1b30 in Object.wait() > [5b0a5000..5b0a5830] > at java.lang.Object.wait(Native Method) > - waiting on <0x4d068108> (a > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable) > at java.lang.Object.wait(Object.java:426) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:509) > - locked <0x4d068108> (a > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable) > at java.lang.Thread.run(Thread.java:536) > "Thread-2" prio=1 tid=0x0x8a36988 nid=0x1b23 in Object.wait() > [5c316000..5c316830] > at java.lang.Object.wait(Native Method) > - waiting on <0x4c420070> (a > EDU.oswego.cs.dl.util.concurrent.LinkedNode) > at java.lang.Object.wait(Object.java:426) > at > EDU.oswego.cs.dl.util.concurrent.SynchronousChannel.put(SynchronousChannel.java:152) > - locked <0x4c420070> (a EDU.oswego.cs.dl.util.concurrent.LinkedNode) > at > EDU.oswego.cs.dl.util.concurrent.PooledExecutor$WaitWhenBlocked.blockedAction(PooledExecutor.java:778) > at > EDU.oswego.cs.dl.util.concurrent.PooledExecutor.execute(PooledExecutor.java:877) > at > org.apache.excalibur.event.command.AbstractThreadManager.run(AbstractThreadManager.java:252) > at > EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727) > at java.lang.Thread.run(Thread.java:536) > "Signal Dispatcher" daemon prio=1 tid=0x0x80b1e30 nid=0x1b19 waiting on > condition [0..0] > "Finalizer" daemon prio=1 tid=0x0x8094618 nid=0x1b16 in Object.wait() > [586a5000..586a5830] > at java.lang.Object.wait(Native Method) > - waiting on <0x4c5faa98> (a java.lang.ref.ReferenceQueue$Lock) > at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111) > - locked <0x4c5faa98> (a java.lang.ref.ReferenceQueue$Lock) > at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127) > at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159) > "Reference Handler" daemon prio=1 tid=0x0x8093a68 nid=0x1b15 in Object.wait() > [58624000..58624830] > at java.lang.Object.wait(Native Method) > - waiting on <0x4c5fab00> (a java.lang.ref.Reference$Lock) > at java.lang.Object.wait(Object.java:426) > at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:113) > - locked <0x4c5fab00> (a java.lang.ref.Reference$Lock) > "VM Thread" prio=1 tid=0x0x8090808 nid=0x1b14 runnable > "VM Periodic Task Thread" prio=1 tid=0x0x80b1270 nid=0x1b17 waiting on > condition > "Suspend Checker Thread" prio=1 tid=0x0x80b1c38 nid=0x1b18 runnable -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
