• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Old copies of deployed applications linger in temp directory

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic