This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Old copies of deployed applications linger in temp directory

 
Rik Gruwez
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are using Hudson Continuous Integration to perform nightly builds of our WAR files. These are automatically deployed (hot deployed) to a Tomcat 6 instance. Everything works fine, except that previously deployed applications linger in the the Tomcat/temp directory. Their directory names are prefixed with a number.

For instance on day one we would see in the Tomcat/temp dir the following directory:

1-WarFile

with the 1-WarFile directory containing the complete unzipped WAR file.

The following day it would be
1-WarFile
2-WarFile


1-WarFile still contains all JARs from the WEB-INF lib directory, 2-WarFile contains the newly deployed application.

The next day it would be:
1-WarFile
2-WarFile
3-WarFile


And so on and so forth.

Eventually the disk will fill up and the older directories in the Tomcat/temp directory have to be manually removed.

Any idea why there is not decent cleanup of the Tomcat/temp directory?

Regards,
Rik
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic