|
From: Leif M. <le...@ta...> - 2004-05-26 07:00:53
|
Ben,
When I tried this out, I had the experience that the Wrapper process was
immediately brought down when pressing CTRL-C. The problem is that the
Wrapper was not logging its shutdown. It did appear to be shutting down
the JVM correctly however.
At any rate this is a bug. The problem is that I was registering my
control
handler before the service's console was being created. It appears that the
handler is not applied to the new console in this case. I have fixed
this for
the next 3.1.1 release by making sure that the handler is now registered
after the console is created. This is only an issue when running as an NT
service with the following two properties set.
wrapper.ntservice.console=true
wrapper.ntservice.interactive=true
Thanks for pointing this out.
Cheers,
Leif
Ben David, Tomer wrote:
>Hi
>
>When I'm running wrapper in regular console mode ( -c ) then it trapps perfectly the CTRL-C and I see on console:
>
>wrapper | CTRL-C trapped. Shutting down.
>
>However if I'm running in a service mode with console enabled, then I dont see this line on screen, and my application donesn't shut down properly :(
>
>Anyone knows why?
>
>
|