Knowledge Base - FAQ
Question: Where do I put a java .war file to deploy under Tomcat?If you're using Tomcat 3.2 or 3.3 you should put it in your ~homedir/webapps directory. If you're using Tomcat 4/5 you should put it in the document root for the domain you're trying to deploy it on. (Keeping in mind of course that you have full access to the conf/server.xml file and you can change all of this at any time.)
There's also a catch. Since deploying a war usually means having a new context, you have to either ask support to add the context to the Apache config or ask support to redirect your entire domain to your Tomcat webserver. Otherwise Apache will answer the requests instead of your Tomcat JVM. Also, be sure to restart Tomcat after dropping the .WAR file in place.
Last Modified: Jan 08, 2007




