Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to deploy war file in tomcat server

 
samdeep aarzoo
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i download the source code from professional jsp
it has a jar executable file
i use jar " -xvf filename.jar " to open the jar file
than it gives folders of

1. data
2. etc
3. lib
4. meta-inf
5. src
6. web
7.build xml document

can anyone explain in detail how to use it automatically in tomcat server
how to deploy it directly???please tell
i m trying to put it in webapps but its not working
 
samdeep aarzoo
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry
now its working
 
Aruneesh Salhotra
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just copy the war file to <tomcat-root>/webapps.
Stop tomcat
Start tomcat.

Suppose the war file is tomcat_app1.war. This would create a webapp called tomcat_app1 under <tomcat-root>/webapps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic