On 8 Nov 2002, at 2:43, yves lambert wrote: > Peter Lee wrote: > > >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> > > > > > > > > > > > your batch file must be like that > restart.bat > call %CATALINA_HOME%\bin\shutdown.bat > call %CATALINA_HOME%\bin\startup.bat > if it doesn't work you may set a delay between the 2 commands
What is the command for setting the delay in a Windows batch file? I used "delay" but it didn't work. Thanks -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
