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

The Cocoon Servlet does not shutdown properly under Tomcat

           Summary: The Cocoon Servlet does not shutdown properly under
                    Tomcat
           Product: Cocoon 2
           Version: Current CVS
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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

Reply via email to