Try putting a delay in, sometimes tomcat doesn't quickly enough exit for you to immediately restart. At least not on my box (which is linux). However if you're using Tomcat4.x you can stop and restart webapps directly, so you may not really need to restart all of tomcat...
--mikej -=----- mike jackson [EMAIL PROTECTED] > -----Original Message----- > From: Peter Lee [mailto:tomcatuser@;shaw.ca] > Sent: Thursday, November 07, 2002 11:05 AM > To: [EMAIL PROTECTED] > Subject: Shutting down and restarting Tomcat > > > I need to shutdown and then restart tomcat repeatedly for my > testing purposes. I am using a Windows batch file which will call > shutdown.bat and startup.bat. But each time Tomcat did not > restart. Is there any better way of doing this? > > Thanks > > -- > To unsubscribe, e-mail: > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: > <mailto:tomcat-user-help@;jakarta.apache.org> > -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
