Hello,

I'd like to know if there's some examples (and where are them, of
course) on using Tanuki's wrapper to 'control' (startup, shutdown) a
Restlet application.

I'm currently using a 'main' class which sets my Application instance,
starts needed services, and starts the Application, together with a
shutdown hook to shut itself down when:
1) the user hits Ctrl+C on the console where my app is running; or
2) a POST is gotten on /system/control/shutdown

and am having problems with dangling Java processes left around and
not really 'clean' shutdown.

I'm using the Jetty server connector.

Any ideas/help is appreciated. Thanks in advance.

-- 
Fabián Mandelbaum
IS Engineer

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2715783

Reply via email to