Documentation
Kattare is dedicated to making your hosting experience as painless as possible.
That means making as much help and documentation available as possible.
If you have a question that you think would be helpful to have here, please
[Submit your Question].
|
|
| Category |
| JSP-Java Servlets |
|
Question
|
Last Modified: Jan 08, 2007
|
| Where do I put a java .war file to deploy under Tomcat? |
| Answer |
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.
|
[FAQ Main]
[Submit a Question]
[Back to Category "JSP-Java Servlets"]
|