|
From: Divya H. <div...@gm...> - 2012-03-06 13:49:40
|
Hi Mueller, Thanks for the reply. I will turn on the debug level and see what is going around.I will let you know my observations then. Thanks, Divya Christian Mueller-13 wrote: > > Hello Divya, > > how is your script starting/stopping the processes exactly? > > The wrapper-script whenever called to start an instance, checks for the > pid-file, which contains the pid of the Wrapper process. > If the pid from the file matches with the currently running processes, > then > it won't start the Wrapper, since it assumes the process is already > running. > The warning "Removed stale pid file", means that the pid in the pid file > doesn't match. So the script removes the file and starts a new instance. > The Wrapper removes the pid file by itself usually during exiting, however > if the Wrapper is forcibly killed (like a kill -9), then it won't have a > chance to remove the file. > So when you run the start command after the reboot and see the stale pid > warning, it means probably, that the Wrapper was forcibly killed during > shutdown and couldn't remove the pid file. > > could you also please turn on debug log level (wrapper.debug=TRUE) and > re-run? > > Best Regards, > > Christian Mueller > Tanuki Software, Ltd. > > On Mon, Mar 5, 2012 at 6:52 PM, Divya Habin > <div...@gm...>wrote: > >> >> I have few services that are running in a Linux machines and I am using >> the >> 3.2.3 version of http://old.nabble.com/file/p33441896/Poller.conf >> Poller.conf Java Service Wrapper. Just before the sever reboot, the >> services >> are stopped using a stopall services command(that has stop command for >> each >> service).While Few services are giving out the following warning :: >> 'WARN | wrapper | 2012/03/04 03:00:42 | JVM process was still running >> after receiving a SIGCHLD signal. >> STATUS | wrapper | 2012/03/04 03:00:42 | TERM trapped. Shutting down.' >> >> After the sever reboot, a startall application script(that has start >> command >> for each service) is run.It starts all the applications except those that >> gave the above warning. >> >> But when I try starting the service again using the start command of that >> particular service, it starts with the message '"Removed stale pid file:' >> . >> >> I want to understand here two things: >> 1.Why the process has become stale. >> 2.Why the start all application command that had the start command didn >> start it after removing the stale id. >> >> I am attaching the configuration file. >> >> Thanks in advance. >> >> >> -- >> View this message in context: >> http://old.nabble.com/Service-started-with-Java-Service-wrapper-becoming-stale-during-server-reboot-tp33441896p33441896.html >> Sent from the Java Service Wrapper mailing list archive at Nabble.com. >> >> >> >> ------------------------------------------------------------------------------ >> Try before you buy = See our experts in action! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-dev2 >> _______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user >> > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > -- View this message in context: http://old.nabble.com/Service-started-with-Java-Service-wrapper-becoming-stale-during-server-reboot-tp33442324p33451001.html Sent from the Java Service Wrapper mailing list archive at Nabble.com. |