Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Deploying war file

 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Place the war file in your webapps directory, restart the server, and the container will unpack it.
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What server do you use? Is it tomcat? If so follow what ryan has said..
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mohamed Inayath
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

 
If you are using a rototiller, you are doing it wrong. Even on this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!