tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nortje, Andrew" <anor...@ccsc.com>
Subject RE: Stopping Tomcat
Date Tue, 13 Feb 2001 21:00:24 GMT
Thanks Randy

I dug through the code and it looks like Tomcat uses -f for starting AND
stopping. I added the -f for stopping, still no joy.

O well there is always kill.

> -----Original Message-----
> From: Randy Layman [mailto:randy.layman@aswethink.com]
> Sent: Tuesday, February 13, 2001 2:27 PM
> To: tomcat-user@jakarta.apache.org
> Subject: RE: Stopping Tomcat
> 
> 
> 
> 	Probably so.  Looking at the batch file on NT (which 
> should be very
> similar to the sh on UNIX) both start and stop are handled by the same
> class.  I would guess that it processes the arguments the 
> same.  If not, I
> would suggest looking at the source for 
> org.apache.tomcat.startup.Tomcat
> (method main) to see where it gets its configuration if its 
> passed a -stop
> as its first argument - that will tell you how to send it a 
> configuration to
> make the second one stop.
> 
> 	If that doesn't seem to be what you want, you could 
> create a shell
> script/batch file that moves the server.xml file around so 
> that one stop
> uses one server.xml and one uses the other.  (Something like 
> cp server1.xml
> server.xml, stop tomcat, cp server2.xml server.xml, stop tomcat)
> 
> 	Randy
> 
> -----Original Message-----
> From: Nortje, Andrew [mailto:anortje@ccsc.com]
> Sent: Tuesday, February 13, 2001 2:50 PM
> To: 'tomcat-user@jakarta.apache.org'
> Subject: RE: Stopping Tomcat
> 
> 
> Thanks Randy 
> I understand, I don't mind people telling me to read the 
> manual, a little
> help on which would be great, I have done plenty searching, 
> else I wouldn't
> have tried the list... let me not dwell on that.
> OK your are correct I have two server.xml's. I start with -f 
> server1.xml and
> -f server2.xml - that much is in the manual.
> I can't find anything in the manual regarding shutdown. Can I 
> use -f for
> shutdown as well? 
> > -----Original Message----- 
> > From: Randy Layman [mailto:randy.layman@aswethink.com] 
> > Sent: Tuesday, February 13, 2001 1:46 PM 
> > To: tomcat-user@jakarta.apache.org 
> > Subject: RE: Stopping Tomcat 
> > 
> > 
> > 
> >       The problem probably stems from the fact that you have 
> > two different 
> > server.xml files to start Tomcat with, but you are only 
> > calling one of them 
> > to stop it. 
> > 
> >       By the way, if you're on this list for very long, you 
> > will discover 
> > that probably 90% of people's problems are due to a lack of 
> > reading the 
> > manuals.  The regulars get pretty tired of answering the same 
> > questions over 
> > and over again. 
> > 
> >       Randy 
> > 
> > -----Original Message----- 
> > From: Nortje, Andrew [mailto:anortje@ccsc.com] 
> > Sent: Tuesday, February 13, 2001 2:08 PM 
> > To: 'tomcat-user@jakarta.apache.org' 
> > Subject: RE: Stopping Tomcat 
> > 
> > 
> > Hell now this is a good start to the mailing list!!! :-( 
> >  
> > So allow me...   :-) 
> >  
> > Have you read the the documentation? Yes I have. 
> > Which docs? 
> > - The user guide that comes with Tomcat 
> > - the FAQ's on the Tomcat web site 
> >  
> > So... which docs should I read? 
> > -----Original Message----- 
> > From: Nael Mohammad [mailto:nmohammad@neomar.com] 
> > Sent: Tuesday, February 13, 2001 1:51 PM 
> > To: 'tomcat-user@jakarta.apache.org' 
> > Subject: RE: Stopping Tomcat 
> > 
> > 
> > READ the documentation 
> > -----Original Message----- 
> > From: Nortje, Andrew [mailto:anortje@ccsc.com] 
> > Sent: Tuesday, February 13, 2001 10:43 AM 
> > To: 'tomcat-user@jakarta.apache.org' 
> > Subject: Stopping Tomcat 
> > 
> > 
> > Folks 
> > I'm have new to Tomcat so bear with me please. 
> > I have set up Apache and Tomcat to use 2 virtual server and 
> to use two 
> > instance of Tomcat running on two different port. 
> > Questions: 
> > 1. How do I shutdown both instances of tomcat, the regular 
> > shutdown only 
> > shuts down the one 
> > 2. Sometimes the second instance of Tomcat does not boot 
> > properly and does 
> > not work (I know this is not a lot to work on but maybe 
> > someone has come 
> > across this before.) 
> > Thanks in advance 
> > Andrew 
> > 
> > 
> --------------------------------------------------------------------- 
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org 
> > For additional commands, email: tomcat-user-help@jakarta.apache.org 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
> 

Mime
View raw message