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 Mon, 18 Jul 2011 07:21:52 GMT
2011/7/15 Mladen Turk <mturk@apache.org>

> On 07/15/2011 02:19 PM, Hans Rupp wrote:
>
>>
>> i have 2 questions about procrun (i’m using win xp).
>>
>>
>>
>> 1. is it possible to run a jar-file as service, so that at service start
>> the
>> standard jdk6 splashscreen is showing? I always get null from
>> getSplashScreen() when running as service, but when I start it from the
>>
>>
> No. Services don't have desktop. In theory it's possible
> but requires a huge pile of code and where it would be shown
> on system boot when there is no users log in?
>
>
>
>> 2.Is it possible to get rid of or at least minimize the dos-Window of
>> procrun?
>>
>>
> There is no window if started as service.
> Are you referring starting the procrun from user session?
> Why would you wish to do that?
>
>
> Regards
> --
> ^TM
>
>  Thanks for your answer.
 I log on as local system account but i'm using the service to launch an
application with a gui so i enabled "allow service to interact with
desktop".
 And then i get an empty dos-console-window, which i want to minimize
automatically.

> ------------------------------**------------------------------**---------
> 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