tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luba Powell" <luba...@bellatlantic.net>
Subject Re: Graceful Shutdown
Date Thu, 14 Jun 2001 20:42:24 GMT
To avoid confusion - let's step thru \bin\tomcat.bat script:

>bin\tomcat.bat stop

if "%1" == "start" goto startServer
..
:stopServer
rem Stopping the Tomcat Server
%_RUNJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%"
org.apache.tomcat.startup.Tomcat -stop %2 %3 %4 %5 %6 %7 %8 %9

... where org.apache.tomcat.startup.Tomcat is a program
... that actually executes shutdown or calls another java program

goto cleanup

.





----- Original Message -----
From: "Randy Layman" <randy.layman@aswethink.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Thursday, June 14, 2001 2:41 PM
Subject: RE: Graceful Shutdown


>
> No, "tomcat stop" will stop tomcat - shudtown.sh/bat will call
> tomcat.sh/bat with the stop argument.
>
> net stop Tomcat is another way to stop it on NT IF you have
> installed it as a service.
>
> Randy
>
>
> > -----Original Message-----
> > From: Tim O'Neil [mailto:tim@xythos.com]
> > Sent: Thursday, June 14, 2001 1:17 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: RE: Graceful Shutdown
> >
> >
> > At 09:17 AM 6/14/2001, you wrote:
> > >"tomcat stop"  in a new command window
> > >
> > > >Hi,
> > > >Does anyone know how to do a graceful shutdown in Tomcat-3.2 ?
> >
> > Shouldn't he be issuing a ./shutdown.sh in Unix and
> > "net stop Tomcat" (assuming he named the service
> > "Tomcat") in Windows?
> >
> > I don't think "tomcat stop" is going to accomplish anything.
> >
> >


Mime
View raw message