|
From: Leif M. <le...@ta...> - 2006-02-10 02:29:40
|
Anat,
Looking at your log file, this is the cause of the application being
shut down:
INFO | jvm 1 | 2006/02/07 16:42:51 | Processing control
event(WRAPPER_CTRL_SHUTDOWN_EVENT)
There is a bug in 3.1.2 where the JVM is not correctly ignoring TERM
signals
even if the IGNORE_SIGNALS flag is set in the sh script. This has been
fixed
for the unreleased 3.2.0. Could you please download and try out the latest
snapshot build and verify that this fixes the problem for you?
http://wrapper.tanukisoftware.org/tmp/3.1.2-d/wrapper-linux-x86-32-3.2.0-d.tar.gz
You will want to use the new sh script and set the IGNORE_SIGNALS
variable to true in the script.
Also, from your logs, it looks like there is a GUI being
displayed? That may
why your JVM is getting the TERM signals in the first place. In
general, daemon
processes don't have GUIs. You should add a call to
WrapperManager.isLaunchedAsService() This method will return true if the
Wrapper is running as a daemon process. Only show your GUI if it is false.
If you don't want to add a dependency to the wrapper API, look for the
"wrapper.service" system property.
Cheers,
Leif
Anat Halpern wrote:
> Hi Leif,
>
> Attached is the log file. I hope it'll help.
>
> Thanks,
> Anat
>
>
|