|
From: Daniel S. <jav...@da...> - 2004-07-12 17:31:56
|
Hi Is there a possibility to get a notification (besides the log) or to start an other application if the Service-wrapper restarts the JVM because of a crash? (my only idea was to scan the log for restarts) Another Idea was to use JMX; but how does this work if the service is already running? I can use JMX to start the wrapper, but the wrapper is alredy running (as Windows service) and I would like to connect afterwards. other question: I declared a dependent service. I would appreciate it now, that the dependent service restarts, if the JVM of the 'mother-service' crashes and restarts. any possibilities? and why isn't it possible that windows restarts the wrapper-service if it crashes (or execute one of the other windows-serivce options, when the service fails) best regards Daniel |