I am looking for suggestions on the best approach for deploying a web application's war file into an EXISTING Tomcat installation. I do NOT want to include the installation of Tomcat in the installer as this forces a customer to be tied to a specific Tomcat version. By not including Tomcat in the installer, this allows a user to update Tomcat versions and then simply redeploy the war file.
I will require/check that:
- The expected JDK is installed.
- A minimum supported Tomcat version is installed.
- The web application is not already installed.
The installer will ask the user what the path is to the Tomcat installation the war file will be installed at. Using this path (i.e. <install path>\webapps) copy the war file to this location. I am not sure what exactly Tomcat will do when it sees the new war file? I expected I will also need the installer to create the necessary startup and stop services?
Does this make sense? Am I missing any other important steps the installer needs to handle? Any suggestions would be great!
Thanks in advance!
Todd Scheuerman
FOLLOW US
Get the latest news in Application Packaging