Re: Graceful Stop

2009-08-12 Thread jeffoule
base="$CATALINA_BASE" \ > -Dcatalina.home="$CATALINA_HOME" \ > -Djava.io.tmpdir="$CATALINA_TMPDIR" \ > org.apache.catalina.startup.Bootstrap "$@" start \ > >> "$CATALINA_BASE"/logs/catalina.out 2>&1 &

Re: Graceful Stop

2009-01-30 Thread Mohit Anchlia
"$@" start \ >> "$CATALINA_BASE"/logs/catalina.out 2>&1 & if [ ! -z "$CATALINA_PID" ]; then echo $! > $CATALINA_PID fi fi elif [ "$1" = "stop" ] ; then shift FORCE=0 if [ "$1" = &

Re: Graceful Stop

2009-01-29 Thread André Warnier
Caldarale, Charles R wrote: From: Mohit Anchlia [mailto:mohitanch...@gmail.com] Subject: Re: Graceful Stop doing /etc/init.d/tomcat stop Mohit, can you supply that script /etc/init.d/tomcat here ? Let's have a look. And remind us of the exact platform on which you're ru

RE: Graceful Stop

2009-01-29 Thread Caldarale, Charles R
> From: Mohit Anchlia [mailto:mohitanch...@gmail.com] > Subject: Re: Graceful Stop > > doing /etc/init.d/tomcat stop Which is not a script supplied in a real Tomcat distribution. That one came from whatever 3rd-party repackaged version of Tomcat you're using. - Chuck THIS

Re: Graceful Stop

2009-01-29 Thread Mohit Anchlia
doing /etc/init.d/tomcat stop On Thu, Jan 29, 2009 at 1:01 PM, Mark Thomas wrote: > Mohit Anchlia wrote: >> When I perform tomcat stop on linux it doesn't look like it processes >> all the requests and then stops. It just stops right away. > > And how are you stopping Tomcat? kill -9 will have th

Re: Graceful Stop

2009-01-29 Thread Mark Thomas
Mohit Anchlia wrote: > When I perform tomcat stop on linux it doesn't look like it processes > all the requests and then stops. It just stops right away. And how are you stopping Tomcat? kill -9 will have the effect you describe. Mark > > On Thu, Jan 29, 2009 at 2:39 AM, Mark Thomas wrote: >>

Re: Graceful Stop

2009-01-29 Thread Mohit Anchlia
When I perform tomcat stop on linux it doesn't look like it processes all the requests and then stops. It just stops right away. On Thu, Jan 29, 2009 at 2:39 AM, Mark Thomas wrote: > Mohit Anchlia wrote: >> tomcat 6: >> >> Is there a way to gracefully stop tomcat similar to apache? > > Yes, depen

Re: Graceful Stop

2009-01-29 Thread Mark Thomas
Mohit Anchlia wrote: > tomcat 6: > > Is there a way to gracefully stop tomcat similar to apache? Yes, depending on how you started it: - stop the windows service - use shutdown.(sh|bat) - kill the process - CTRL-C with focus on the DOS window Note with all of these any request that takes too

Re: Graceful Stop

2009-01-28 Thread Mohit Anchlia
There is a graceful-stop option in apache2 which stops taking new requests and gracefully waits untill existing requests have been serviced On Wed, Jan 28, 2009 at 7:59 AM, André Warnier wrote: > Mohit Anchlia wrote: >> >> tomcat 6: >> >> Is there a way to gracef

Re: Graceful Stop

2009-01-28 Thread André Warnier
Mohit Anchlia wrote: tomcat 6: Is there a way to gracefully stop tomcat similar to apache? There is a whole page here, if you understand it (I don't) : http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html Also, there is a special port defined in the server.xml/ tag, which I believe works

Re: Graceful Stop

2009-01-28 Thread Gregor Schneider
Could you specify your understanding of a graceful *stop? Within Apache HTTPD, I'm only aware of a graceful *restart* But maybe I'm missing something... Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3F

Re: Graceful Stop

2009-01-28 Thread Mohit Anchlia
On linux we did /etc/init.d/tomcat stop but it doesn't look like it gracefully stopped tomcat. On Wed, Jan 28, 2009 at 7:54 AM, David kerber wrote: > Mohit Anchlia wrote: >> >> tomcat 6: >> >> Is there a way to gracefully stop tomcat similar to apache? >> >> --

Re: Graceful Stop

2009-01-28 Thread David kerber
Mohit Anchlia wrote: tomcat 6: Is there a way to gracefully stop tomcat similar to apache? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org On win

Graceful Stop

2009-01-28 Thread Mohit Anchlia
tomcat 6: Is there a way to gracefully stop tomcat similar to apache? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org