• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

War not updating my project

 
Mike Jenkins
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was able to send war files to the System admins for our Tomcat 4.1.27 container and it would update my project in the /webapps/firstweb project. My latest War for that project doesnt work. The web site (in the webapps/firstweb directory) is still there with the prior war info but the latest war file they put in the webapps directory doesnt seem to autodeploy and update my web site.

I asked the system admin to shut down the container (/bin/shutdown.bat) and then restart it (/bin/startup.bat) and it doesnt seem to take my updated war file.

Any thoughts on why it is doing this and anything I can suggest for them to get it to work? I have 4.1.3 in my local development environment and have no problems with the War files updating my webapps.

Also I cant update to Tomcat 5.5 for another year due to system issues.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my updated war file

Are you sure you're actually handling an updated war ?
Unpack it and check that it really contains the new version.
 
Mike Jenkins
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for quick reply.

Yes I did check it and it is the latest war file.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you use the Tomcat manager to undeploy your app before deploying the new version, all the old files will be deleted. Otherwise adding a new version is like unzipping on directory structure on top of another. New files will be added, existing ones overwritten if there is a new copy, and files that were in the old version but don't exist in the new, will remain.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic