|
From: Edwin W. <ed...@at...> - 2007-02-08 06:38:27
|
we simply fire the script after making the relevant changes from sh.script.in from the wrapper distributable. So, after renaming the script to app, we run: app start <- this works ok app status <- dies app stop <- dies On 08/02/2007, at 5:09 PM, Bashiro wrote: > > > > could you please point to me how you do start your application with > > wrapper. What command you do give ? > > Bashiro > > > > --- On Wed 02/07, Edwin Wong < ed...@at... > wrote: > > From: Edwin Wong [mailto: ed...@at...] > > To: wra...@li... > > Date: Thu, 8 Feb 2007 12:00:30 +1100 > > Subject: [Wrapper-user] Stopping wrapper does not work in OS X > > > >> I am currently trying to run the wrapper in OS X.>> It starts my >> application fine, but when I try to run the "status" > or "stop" >> commands, wrapper can't find the process and removes the > pid >> file as a stale file even though the process is clearly still > >> running.>> Experimenting further, I found that if I changed the >> line in the > getPid() command from:>> pidtest=` >> $PSEXE -p $pid -o args | grep > "$WRAPPER_CMD" | tail -1`>> >> to> pidtest=`$PSEXE -p $pid | grep $WRAPPER_CMD | >> tail -1`>> all seems to work fine.>> Any ideas?>> >> Thanks.-------------------------------------------------------------- >> -----------Using Tomcat but need to do more? Need to support web >> services, security?Get stuff done quickly with pre-integrated >> technology to make your job easier.Download IBM WebSphere >> Application Server v.1.0.1 based on Apache > Geronimohttp://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642______________________________ > _________________Wrapper-user mailing listWrapper- > us...@li...://lists.sourceforge.net/lists/ > listinfo/wrapper-user > > _______________________________________________ > No banners. No pop-ups. No kidding. > Make My Way your home on the Web - http://www.myway.com > > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user |