frequent updates of a Tomcat application
Posted
by
Erel Segal Halevi
on Stack Overflow
See other posts from Stack Overflow
or by Erel Segal Halevi
Published on 2012-03-18T15:33:07Z
Indexed on
2012/03/18
17:56 UTC
Read the original article
Hit count: 221
I have an application that runs on a Tomcat 7 server on a Windows machine. In its current stage, I have to frequently update and fix it. Whenever I need to update the application, I do all this:
- Build a new war file;
- Go to the Windows server, stop the Tomcat service;
- download the file, put it under webapps;
- Remove the old application folder under webapps;
- Remove the old application folder under work/Catalina/localhost (otherwise it keeps the old version cached).
- Restart the Tomcat service.
I am sure there is a way to do all this automatically. What is it?
© Stack Overflow or respective owner