File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Deploying war file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Deploying war file" Watch "Deploying war file" New topic
Author

Deploying war file

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1087
i made a my webroot folder to the war file using jar -cvf pets.war *.
now i need to know how to deployee the war file.
Ryan Beckett
Ranch Hand

Joined: Feb 22, 2009
Posts: 192
Place the war file in your webapps directory, restart the server, and the container will unpack it.
Ananth Chellathurai
Ranch Hand

Joined: Nov 21, 2007
Posts: 349

What server do you use? Is it tomcat? If so follow what ryan has said..


Ananth Chellathurai [Walk on software]
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

Ananth Chellathurai wrote:What server do you use? Is it tomcat? If so follow what ryan has said..

The WEB-INF directory is common to all servers , no matter which one is being used.


SCJP, SCWCD.
|Asking Good Questions|
Mohamed Inayath
Ranch Hand

Joined: Nov 22, 2004
Posts: 124
Amit Ghorpade wrote:
Ananth Chellathurai wrote:What server do you use? Is it tomcat? If so follow what ryan has said..

The WEB-INF directory is common to all servers , no matter which one is being used.


WEB-INF directory could be same but do we have webapps directory within Weblogic/Oracle AS?

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploying war file