|
From: Leif M. <le...@ta...> - 2006-02-15 06:41:49
|
Anat,
You forgot to attach the 4 log files. I'll need to see them to
give you more help.
I was expecting this to be working with 3.2.0.
Also see my comments below.
Anat Halpern wrote:
> Hi Leif,
>
> Thanks for your response. However, it doesn't seem to be working for
> me :'(
>
> Leif Mortenson wrote:
>> 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.
> I've tried the new files, with the property set to true, but it still
> shutting down when I logout. Attached are 4 logs - for a console run,
> and service run which I stopped using <app> stop - those have normal
> behavior. The other 2 logs are of service runs during which I logout -
> one running remote through VNC, and the other is run locally.
>>
>> 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.
> Could you explain about that?
I saw references to the "AgentFrame" class in your wrapper.log. I assumed
that this was referring to a GUI Frame.
>> 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.
> I'm not actually showing the GUI, it's hidden when in service mode -
> it's just a temporary (messy) solution before I remove the GUI. Is
> there a problem with that?
If it is not being shown, that should be fine. I was thinking that that
might be
the reason why you were getting the TERM signal.
Cheers,
Leif
|