commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Rupp <hansj.r...@googlemail.com>
Subject Re: [daemon]
Date Tue, 19 Jul 2011 08:17:54 GMT
2011/7/18 Mladen Turk <mturk@apache.org>

> On 07/18/2011 04:49 PM, Hans Rupp wrote:
>
>> 2011/7/18 Mladen Turk<mturk@apache.org>
>>
>>  But it would very nice, if you can give me some hints, how to do it a
>> better way.
>>
>>
> Here is one option:
>
> Start -> All Programs -> Accessories -> System Tools -> Scheduled Tasks
>
> Click on Add Scheduled Task
> Click Next
> Click Browse
>  ... select you JAVA_HOME\bin\javaw.exe
>     Name your task. eg. My Fancy task
>     Click on "When my computer starts"
>
> Enter username and password
> Set additional command line properties like you would
> when invoking javaw from the command line.
> If you app doesn't work with javaw you are out of luck :)
>
>
> Cheers
>
>  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?

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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message