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 &
"$@" 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" = &
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
> 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
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
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:
>>
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
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
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
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
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
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?
>>
>> --
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
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
14 matches
Mail list logo