• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Restart Tomcat With Single .bat File

 
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

Presently if I need to restart tomcat then first I have to run shutdown.bat and then startup.bat.

Is there anyway, by which I have to run only one .bat file to restart tomcat?

Reg,
Chetan
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only problem with combining the shutdown.bat and startup.bat into a single file would be dealing with the time delay - it takes Tomcat a while to clean up during shutdown so you would need some way to wait.

Personally I don't think it is worth the trouble. If you need this capability to handle changes during development, why not use the Management application to restart a particular web application.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!