This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JSP and the fly likes Depoly war file in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Depoly war file in tomcat" Watch "Depoly war file in tomcat" New topic

Depoly war file in tomcat

vethadas t

Joined: Jul 25, 2002
Posts: 4
how to depoly .war file in tomcat. we have to put the war file in the classpath or what.pls help me. And what is the physical file path and virutal file path in UNIX - for Apache & Tomcat.
File upload component.
Pls help me. Thanks.
chanoch wiggers
Ranch Hand

Joined: May 24, 2001
Posts: 245
to deploy a war file you just put it in the webapps/ directory of tomcat. In a live system I usually move the webapps directory to another drive so that the server and application are protected from a failure of each other.
a virtual path is one that is relative to the root context of your web applicatoin. So if the folder that contains your webapps is called examples/ then a virtual path is content/documents/mydocument
whereas the real path might be

chanoch<p><a href="" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>
I agree. Here's the link:
subject: Depoly war file in tomcat
Similar Threads
Supply properties file as a plugin
Getting Tomcat 4.1.18 to recoginze my context
Export to war file in eclipse 3.1
set up tomcat
Failed to deploy servlet in netbeans 6.7