|
From: Gene <gen...@gm...> - 2007-02-08 02:23:44
|
i had to do the same thing to get it to work on mac osx because ps doesn't support -o On 2/7/07, Edwin Wong <ed...@at...> wrote: > > 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 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 > -- Gene Hart cell: 443-604-2679 |