Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem in deployment war in Tomcat  RSS feed

 
Haroldo Nascimento
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like that Tomcat deployment and unpacking my war file, but it dont work.
I copy the war in the \webapps\ dir, but it dont update my application files.
Obs.:
- I created the context in the Server.xml to my appication.
- I am using jakarta-tomcat-4.1.24
Is there any form that Tomcat unpacking the war file and update the file ?
Thanks.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I understand it, Tomcat only unpacks the war if it does not find a directory under webapps with the corresponding name. Therefore if you change the war contents, you must delete any existing corresponding directory.
Bill
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!