GeeCON Prague 2014*
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


JavaRanch » Java Forums » Products » Tomcat
Bookmark "Deploying war file" Watch "Deploying war file" New topic
Author

Deploying war file

sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1160
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?

 
GeeCON Prague 2014
 
subject: Deploying war file