RE: InterruptedException when stopping component

2009-03-17 Thread Jerome Louvel
: Romilly Cocking [mailto:romilly.cock...@gmail.com] Envoyé : lundi 16 mars 2009 15:39 À : discuss@restlet.tigris.org Objet : Re: InterruptedException when stopping component Thanks, Jerome, It's good to know I was not too far off course. What is the benefit of using the Application's

re: InterruptedException when stopping component

2009-03-16 Thread Ty
15, 2009 10:11 PM To: discuss@restlet.tigris.org Subject: InterruptedException when stopping component I've implemented a ShutdownRestlet that allows clients to make a remote request to shut down its contolling Component. It works after a fashion, but an InterruptedException is thrown whenever

RE: InterruptedException when stopping component

2009-03-16 Thread Romilly Cocking
I've found a workaround; I start another thread and send stop() to the container after a 100 ms delay. It works, but it's not pretty. Is there a better solution? -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=1326444

RE: InterruptedException when stopping component

2009-03-16 Thread Jerome Louvel
: discuss@restlet.tigris.org Objet : RE: InterruptedException when stopping component I've found a workaround; I start another thread and send stop() to the container after a 100 ms delay. It works, but it's not pretty. Is there a better solution

Re: InterruptedException when stopping component

2009-03-16 Thread Romilly Cocking
:24 À : discuss@restlet.tigris.org Objet : RE: InterruptedException when stopping component I've found a workaround; I start another thread and send stop() to the container after a 100 ms delay. It works, but it's not pretty. Is there a better solution

InterruptedException when stopping component

2009-03-15 Thread Romilly Cocking
I've implemented a ShutdownRestlet that allows clients to make a remote request to shut down its contolling Component. It works after a fashion, but an InterruptedException is thrown whenever I request a shutdown. I suspect that the ShutdownRestlet thinks it still has work to do when the