Re: How to do stop-start fast?

2002-07-31 Thread Aleksi Kallio
After a couple of fixes the script started working, but Tomcat still hangs. So I guess netstat can't be used for that. Anyway, I have a simple sleep 3 hack that works perfectly, so this is not an issue... Something like this may work (just a quick hack so there may be typos) --start cut

RE: How to do stop-start fast?

2002-07-18 Thread Ignacio J. Ortega
Saludos , Ignacio J. Ortega -Mensaje original- De: Aleksi Kallio [mailto:[EMAIL PROTECTED]] Enviado el: 17 de julio de 2002 12:21 Para: [EMAIL PROTECTED] Asunto: How to do stop-start fast? I have a script that stops Tomcat (shutdown.sh), does stuff and then restarts

RE: How to do stop-start fast?

2002-07-18 Thread Thies Edeling
- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 2:41 PM To: 'Aleksi Kallio'; '[EMAIL PROTECTED]' Subject: RE: How to do stop-start fast? Saludos , Ignacio J. Ortega -Mensaje original- De: Aleksi Kallio [mailto:[EMAIL PROTECTED]] Enviado el: 17 de julio

How to do stop-start fast?

2002-07-17 Thread Aleksi Kallio
I have a script that stops Tomcat (shutdown.sh), does stuff and then restarts it (startup.sh). Doing stuff doesn't take long enough and Tomcat refuses to restart because the port is still reserved. Removing the restart from script and waiting a few secs after running the script, then restarting

Re: How to do stop-start fast?

2002-07-17 Thread Tim Funk
You have a few alternatives: 1) Kill the java process and then you can run startup.sh immediatetly 2) Write a wrapper script which calls shutdown.sh, then does one of the following to verify tomcat is shutdown before calling startup.sh a) The process is non-existent b) The port is no taken

RE: How to do stop-start fast?

2002-07-17 Thread Turner, John
-Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 7:27 AM To: Tomcat Users List Subject: Re: How to do stop-start fast? You have a few alternatives: 1) Kill the java process and then you can run startup.sh immediatetly 2) Write a wrapper

Re: How to do stop-start fast?

2002-07-17 Thread Tim Funk
Something like this may work (just a quick hack so there may be typos) --start cut here for script #!/bin/sh ### # restart.sh # restarts tomcat # usage: restart.sh ip port #ip - The ip address (or *) #port - Which tomcat listens on shutdown # # eg:

RE: How to do stop-start fast?

2002-07-17 Thread Turner, John
9:29 AM To: Tomcat Users List Cc: Aleksi Kallio Subject: Re: How to do stop-start fast? Something like this may work (just a quick hack so there may be typos) --start cut here for script #!/bin/sh ### # restart.sh # restarts tomcat # usage: restart.sh ip port