When I call shutdown on Tomcat after using it as a remote cache, the Tomcat JVM does not exit.
I am using JCS 1.3 The remote cache is running on a Linux server in Tomcat 5.5.9 using a disk cache. When I call shutdown on Tomcat, everything seems to work properly. I see the shutdown logged and the keys get written to disk. The problem is that the Tomcat process sticks around unless it is explicitly killed. I believe that the problem stems from the thread: "RMI Reaper" prio=10 tid=0x08749400 nid=0x47eb in Object.wait() [0x6e7fe000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x74465bb8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118) - locked <0x74465bb8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134) at sun.rmi.transport.ObjectTable$Reaper.run(ObjectTable.java:333) at java.lang.Thread.run(Thread.java:619) Thanks, Jeff Birkner CSS, LLC.