tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alistair Hopkins <alist...@berthengron.co.uk>
Subject Re: How to shut down Tomcat
Date Mon, 16 Oct 2000 16:21:49 GMT
I've tried to stop it by using Thread.setDaemon:

according to my little black book, the VM will shut down irrespective of 
daemons present.

At 10:29 AM 10/16/00 -0600, you wrote:

>can you fix it then by writting the thread so that it can
>be stopped when the servlet destroy() is called?
>
>Kitching Simon wrote:
> >
> > I have the same issue
> > (but I only need to run stop twice :-).
> >
> > I suspect that the cause may be the
> > fact that I have created a thread running
> > in the background. Has your code
> > created any threads?
> >
> > If you solve this one, I would appreciate
> > you letting me know...
> >
> > Regards,
> >
> > Simon
> >
> > > -----Original Message-----
> > > From: Paul Hoepfner-Homme [SMTP:paulh@oven.com]
> > > Sent: Monday, October 16, 2000 5:29 PM
> > > To:   tomcat-user@jakarta.apache.org
> > > Subject:      How to shut down Tomcat
> > >
> > > Hi guys,
> > >
> > > I've got Tomcat 3.2 beta 6 (I think) installed on Red Hat Linux 6.1, and
> > > to shut down Tomcat, I have to run '$TOMCAT_HOME/bin/tomcat.sh stop' 
> three
> > > times until the Tomcat JVM actually terminates.  It is only at that time
> > > when I can start it again.
> > >
> > > Does anyone know why Tomcat needs to be shut down thrice before it's
> > > actually done?  It's just kind of a pain because I have to restart Tomcat
> > > a lot, and it seems as if it shouldn't be necessary to do this every 
> time.
> > >
> > >
> > > Thanks,
> > > Paul
> > > --
> > > Paul Hoepfner-Homme
> > > paulh@oven.com
> > >
> > > OVEN Digital |  <http://www.oven.com/>
> > >


Mime
View raw message