|
From: Ben C. <ple...@ho...> - 2007-04-02 21:19:31
|
Thanks, Hubert - this is a good clue. However, I'm using the simplest integration method, so there's no WrapperManager.signalStarting() call in my code. Ben >From: "Hubert Felber" <hub...@ab...> >Reply-To: wra...@li... >To: <wra...@li...> >Subject: Re: [Wrapper-user] Restart request causes 5 rapid retries >and death >Date: Mon, 02 Apr 2007 10:07:02 +0200 > >Ben, > >Just an assumption: >check the comment on >http://wrapper.tanukisoftware.org/doc/english/integrate-listener.html > on the bottom of the site, about > WrapperManager.signalStarting(int millis) and >WrapperManager.signalStopping(int millis). > >I noticed the following: >Calling WrapperManager.signalStopping(1000); I expected that the value >is added to the TimeToWait defined in the conf file. But it seams that >it is not added but replaced. This is the new time to wait. And if you >call it on Windows with value 1000, it causes or can cause a quite >immediate exit. > >Perhaps your problems have something to do with this. > >hth >Hubert > >btw > >on the bottom of the mentioned site you read: > ><BTW Great Job Leif! > >Yes, indeed! > > > >>> "Ben Cox" <ple...@ho...> 30.03.2007 22:37 >>> >Hi all, > >I've been using Wrapper version 3.2.3 to manage my service on a Windows >2003 >Server machine. Everything is working rather well, except occasionally >when >requesting a restart from within the app (and sometimes just during a >"normal" restart after an error). What will happen is that the wrapper >will >attempt to start my app and then give up and terminate the JVM within >_one_ >second! > >At least, that's how it looks from the timestamps on the log output >(below)... am I missing (or misinterpreting) a config file setting? > >Thanks, > >Ben > > >STATUS | wrapper | 2007/03/20 15:48:27 | JVM requested a restart. > >STATUS | wrapper | 2007/03/20 15:48:34 | Launching a JVM... > >INFO | jvm 17 | 2007/03/20 15:48:34 | Wrapper (Version 3.2.3) >http://wrapper.tanukisoftware.org > >INFO | jvm 17 | 2007/03/20 15:48:34 | Copyright 1999-2006 Tanuki > >Software, Inc. All Rights Reserved. > >INFO | jvm 17 | 2007/03/20 15:48:34 | > >ERROR | wrapper | 2007/03/20 15:48:34 | Unable to send the start >command >to the JVM. > >ERROR | wrapper | 2007/03/20 15:48:34 | JVM did not exit on request, > >terminated > >STATUS | wrapper | 2007/03/20 15:48:39 | Launching a JVM... > >INFO | jvm 18 | 2007/03/20 15:48:40 | Wrapper (Version 3.2.3) >http://wrapper.tanukisoftware.org > >INFO | jvm 18 | 2007/03/20 15:48:40 | Copyright 1999-2006 Tanuki > >Software, Inc. All Rights Reserved. > >INFO | jvm 18 | 2007/03/20 15:48:40 | > >ERROR | wrapper | 2007/03/20 15:48:40 | Unable to send the start >command >to the JVM. > >ERROR | wrapper | 2007/03/20 15:48:40 | JVM did not exit on request, > >terminated > >STATUS | wrapper | 2007/03/20 15:48:45 | Launching a JVM... > >INFO | jvm 19 | 2007/03/20 15:48:45 | Wrapper (Version 3.2.3) >http://wrapper.tanukisoftware.org > >INFO | jvm 19 | 2007/03/20 15:48:45 | Copyright 1999-2006 Tanuki > >Software, Inc. All Rights Reserved. > >INFO | jvm 19 | 2007/03/20 15:48:45 | > >ERROR | wrapper | 2007/03/20 15:48:45 | Unable to send the start >command >to the JVM. > >ERROR | wrapper | 2007/03/20 15:48:46 | JVM did not exit on request, > >terminated > >STATUS | wrapper | 2007/03/20 15:48:51 | Launching a JVM... > >INFO | jvm 20 | 2007/03/20 15:48:51 | Wrapper (Version 3.2.3) >http://wrapper.tanukisoftware.org > >INFO | jvm 20 | 2007/03/20 15:48:51 | Copyright 1999-2006 Tanuki > >Software, Inc. All Rights Reserved. > >INFO | jvm 20 | 2007/03/20 15:48:51 | > >ERROR | wrapper | 2007/03/20 15:48:51 | Unable to send the start >command >to the JVM. > >ERROR | wrapper | 2007/03/20 15:48:51 | JVM did not exit on request, > >terminated > >STATUS | wrapper | 2007/03/20 15:48:56 | Launching a JVM... > >INFO | jvm 21 | 2007/03/20 15:48:57 | Wrapper (Version 3.2.3) >http://wrapper.tanukisoftware.org > >INFO | jvm 21 | 2007/03/20 15:48:57 | Copyright 1999-2006 Tanuki > >Software, Inc. All Rights Reserved. > >INFO | jvm 21 | 2007/03/20 15:48:57 | > >ERROR | wrapper | 2007/03/20 15:48:57 | Unable to send the start >command >to the JVM. > >ERROR | wrapper | 2007/03/20 15:48:57 | JVM did not exit on request, > >terminated > >FATAL | wrapper | 2007/03/20 15:48:57 | There were 5 failed launches >in a >row, each lasting less than 300 seconds. Giving up. > >FATAL | wrapper | 2007/03/20 15:48:57 | There may be a >configuration >problem: please check the logs. > >STATUS | wrapper | 2007/03/20 15:48:58 | <-- Wrapper Stopped > >_________________________________________________________________ >Watch free concerts with Pink, Rod Stewart, Oasis and more. Visit MSN >Presents today. >http://music.msn.com/presents?icid=ncmsnpresentstagline&ocid=T002MSN03A07001 > > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys-and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >_______________________________________________ >Wrapper-user mailing list >Wra...@li... >https://lists.sourceforge.net/lists/listinfo/wrapper-user > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys-and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >Wrapper-user mailing list >Wra...@li... >https://lists.sourceforge.net/lists/listinfo/wrapper-user _________________________________________________________________ Watch free concerts with Pink, Rod Stewart, Oasis and more. Visit MSN Presents today. http://music.msn.com/presents?icid=ncmsnpresentstagline&ocid=T002MSN03A07001 |