It's not a secret anymore!
The moose likes Tomcat and the fly likes Deploying war file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


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

Deploying war file

sameera liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 690
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: 2561
    
    2

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
 
Similar Threads
war file
JSF issue with JBoss
Problem with contextPath
WAR file update through program
WLS8.1 serving old jsp pages after installing new ear file