commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: [daemon]
Date Tue, 19 Jul 2011 10:43:29 GMT
On 07/19/2011 10:17 AM, Hans Rupp wrote:
> 2011/7/18 Mladen Turk<mturk@apache.org>
>
>>
>>   Thank you, this meets my first and third requirement, but how about the
> second  one:
>   Application must be able to recover automatically from jvm crashes (service
> restarts when terminated abnormally)
> How can i achieve this with tasks?

Well, write an ant task and start your application via ant.
This is the first thing that comes to my mind.
Or write you own simple class that will exec new jvm and
monitor it's exit value.


Regards
-- 
^TM

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message