Deploying exploded WAR files

posted by SpringSource on April 27, 2010 05:34 AM

Files in the work and temp directories depend on timestamps to be overwritten.

If you deployed the web app using WAR file originally, then you need to either redeploy the entire WAR file or need to meet any of the conditions listed in the official Apache Tomcat documentation.

Your other two options are:

  1. Remove the exploded web app and redeploy the web app using the war file.
  2. Update the exploded web app and do a touch on the WEB-INF/web.xml of the application to redeploy.

If you are having trouble with files not updating in the work and temp directory it is possible you may have a conflict with timestamps. The work and temp directory are used for compiled jsp files, so if your compiled jsp files timestamp are newer than the timestamp of your new jsp files then Tomcat will only serve the old files. Therefore, you need to check and compare the timestamp of the newly deployed web app with the in the work or temp directories. If the files in either directory are newer, you’ll need to delete the old web app files in work directory or touch all the new web app files to update their timestamp.

For more than 10 years, SpringSource employees have been supporting Apache technologies, with unparalleled experience and commitment to the Apache Software Foundation. More than 400 of the Fortune 500 count on SpringSource to support their mission-critical business applications. Leaders of the Apache Software Foundation, including Board Members, work at SpringSource and dedicate a significant amount of time further developing the Apache Tomcat open source project. Over the last 2 years, 95% of the issues fixed in the Apache Tomcat project were fixed by SpringSource engineers. For more information on how SpringSource can help your enterprise, see the SpringSource website, or call 800/444-1935.



It is so sad that we need to either redeploy the WAR file or try to meet conditions listed, but I will do it each and every time as I am planning to Write My Assignment - Pay Someone to Do My Assignment . Hope you will resolve the issue with deploying shortly.

Your blogs further more each

Your blogs further more each else volume is so entertaining further serviceable It appoints me befall retreat encore. I will instantly grab your rss feed to stay informed of any updates. dentalimplantstoronto

Below you will understand

Below you will understand what is important, the idea provides one of the links with an exciting site: roman blinds

For true fans of this thread

For true fans of this thread I will address is a free online!


re: Apache Tomcat

After deploying the web app using WAR file it is very necessary to redeploy the entire WAR file. But there may be chances of problems after this and the links provided here in this article is very helpful for solving such issues. Thanks for this great share! progesterone cream

Post new comment

This question is for testing whether you are a human visitor and to prevent automated spam submissions.