|
From: David H. <dho...@gm...> - 2012-05-30 02:27:04
|
On Linux I've observed a few problems: Java Service Wrapper Professional Edition 32-bit 3.5.13 Linux 2.6.18-028stab099.3 i686 1. Some time ago I was advised to set IGNORE_SIGNALS=true so that stray TERM signals did not kill my app. This seems to have solved that but caused another problem in that the stop command now takes a long time to shut down the app, is there a way to regain the fast app shutdown behavior? 2. I'm not sure if it's related to the above change but I have two apps running on this same server both configured to start the apps when the OS starts (used install command to configure this). However the apps are not restarting when the system boots. Here is a resent log. STATUS | wrapper | 2012/05/27 04:04:49 | TERM trapped, but ignored. STATUS | wrapper | 2012/05/29 13:38:49 | --> Wrapper Started as Daemon STATUS | wrapper | 2012/05/29 13:38:49 | Java Service Wrapper Professional Edition 32-bit 3.5.13 STATUS | wrapper | 2012/05/29 13:38:49 | Copyright (C) 1999-2011 Tanuki Software, Ltd. All Rights Reserved. STATUS | wrapper | 2012/05/29 13:38:49 | http://wrapper.tanukisoftware.com I believe 2012/05/27 04:04:49 is when the system was rebooted for maintenance, 2012/05/29 13:38:49 is when I manually started the app because it was not running. It seems that since I've ignored TERM...it didn't shut down...and therefore it didn't restart??? How can I configure JSW so that it will restart the app when the system boots? In addition what I really want is to configure JSW so that it will guarantee that the apps are always running if the OS is, I've had too many instances where the apps aren't running for one reason or another. (The slow shutdown in #1 is a minor issue compared to the others.) Thanks, -Dave |