Bryce Nesbitt wrote:
> Do we have to wait at least 20 seconds to be sure the port is clear?
>
The easiest thing is to do 'killall -9 java' ;-)
I run Tomcat under its own account. And restart script looks like this:
#!/bin/sh
~/bin/shutdown.sh
sleep 10
killall -9 java
~/bin/startup.sh
There's no risk of killing other's people java processes, because this
script is run under tomcat user account.
--
Mikolaj Rydzewski <miki@(protected)>

Attachment:
smime.p7s