Re: RMI reaper thread prevents JVM from exiting

2011-02-03 Thread sebbaz
On 27/01/2010 07:43, Thomas Chabaud wrote: Le 25/01/2010 20:53, Christopher Schultz a écrit : You've reached way beyond my understanding of RMI at this point. Is it possible that, like JNDI, you might have trees of objects instead of just a flat list? In that case, you'd have to recursively

Re: RMI reaper thread prevents JVM from exiting

2011-01-19 Thread Pierre-Yves Saumont
://old.nabble.com/RMI-reaper-thread-prevents-JVM-from-exiting-tp27275944p30710220.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail

Re: RMI reaper thread prevents JVM from exiting

2010-01-26 Thread Thomas Chabaud
Le 25/01/2010 20:53, Christopher Schultz a écrit : You've reached way beyond my understanding of RMI at this point. Is it possible that, like JNDI, you might have trees of objects instead of just a flat list? In that case, you'd have to recursively unexport/unbind objects to make sure you got

Re: RMI reaper thread prevents JVM from exiting

2010-01-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 1/25/2010 2:48 AM, Thomas Chabaud wrote: Le 22/01/2010 18:13, Christopher Schultz wrote : This thread over on the Sun forums (http://forums.sun.com/thread.jspa?threadID=169975) says that you can either unexport all your objects or call

Re: RMI reaper thread prevents JVM from exiting

2010-01-24 Thread Thomas Chabaud
Hi, and thanks for your answer. I've tried to call the setDaemon(true), but I get the following exception : java.lang.IllegalThreadStateException at java.lang.Thread.setDaemon(Thread.java:1232) at TestServletContextListener.contextDestroyed(TestServletContextListener.java:45)

Re: RMI reaper thread prevents JVM from exiting

2010-01-24 Thread Thomas Chabaud
Le 22/01/2010 18:13, Christopher Schultz wrote : This thread over on the Sun forums (http://forums.sun.com/thread.jspa?threadID=169975) says that you can either unexport all your objects or call System.exit(). :( Are there some objects that you may have forgotten to unexport? I don't think

RMI reaper thread prevents JVM from exiting

2010-01-22 Thread Thomas Chabaud
Hi, I have a problem with a webapp using RMI. When I try to shutdown Tomcat instance, the JVM doesn't exit. I have called jstack to see the thread dump : http://pastebin.com/fa55647 There is a non-daemon thread : RMI Reaper. I've tried to add a servlet context listener to force RMI Object

Re: RMI reaper thread prevents JVM from exiting

2010-01-22 Thread Peter Crowther
2010/1/22 Thomas Chabaud ext_chabaud.tho...@agora.msa.fr: I have a problem with a webapp using RMI. When I try to shutdown Tomcat instance, the JVM doesn't exit. I have called jstack to see the thread dump : http://pastebin.com/fa55647 There is a non-daemon thread : RMI Reaper. I've tried

Re: RMI reaper thread prevents JVM from exiting

2010-01-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 1/22/2010 11:25 AM, Thomas Chabaud wrote: There is a non-daemon thread : RMI Reaper. I've tried to add a servlet context listener to force RMI Object unexport on shutdown, but it has no effect : http://pastebin.com/f324201e2 This