Hi. In my company we use a start script (this is for WebLogic, but the
principle's the same) that record the pid. In sh, you can get the pid of
the process you just started using $!, so we do
java -classpath ... -Detc=whatever weblogic.Server > server.out 2>&1 &
echo $! > PID
and then to stop it it's simply
kill `cat PID`
Regards,
Toby.
[EMAIL PROTECTED] wrote:
>
> Let me preface this by saying that this is a horrible hack--it seems
> to work for me today, but if you're interested, try it out and let me
> know...
>
--
Toby Allsopp
Research
Peace Software International Ltd
Ph +64-9-3730400
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]