The process of deploying a WAR file is super simple. You just download the WAR file, place it in the webapps
or webapp
folder of whichever servlet engine you're using, and your servlet engine will handle the rest via AutoDeploy
. The following steps describe how to accomplish this with our Ubuntu/Jetty install.
1. Move to the Jetty's webapps folder. You can do that in Ubuntu's Terminal interface by typing in the following command:
$ cd /var/lib/jetty/webapps/
2. Download Railo's WAR file. At the time of this writing, the most recent Railo release is 3.2.2.000, so let's download that WAR to our Jetty
webapps
directory.3. To save time in the future, let's rename that WAR file to simply
railo.zip
with the following command:$ sudo mv railo-3.2.2.000.war railo.zip
4. Unzip it so that it's deployed:
$ sudo unzip -d railo railo.zip
5. Remove the ZIP file as we're done with it:
$ sudo rm railo.zip
6. Finally, change the permissions of the...