https://bugzilla.novell.com/show_bug.cgi?id=488061 Summary: Feature request: Tomcat6 initscript clear work directory (patch included) Classification: openSUSE Product: openSUSE 11.0 Version: Final Platform: x86-64 OS/Version: openSUSE 11.0 Status: NEW Severity: Enhancement Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: dennis.steenstra@snow.nl QAContact: qa@suse.de Found By: --- Created an attachment (id=281397) --> (https://bugzilla.novell.com/attachment.cgi?id=281397) Clear workdir patch User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.7) Gecko/2009030422 Ubuntu/8.04 (hardy) Firefox/3.0.7 This is a feature request.. One of our developers complained that when tomcat is restarted, the work dir isn't cleared. So when you deploy a new webapplication, it could be that old jsp's still reside in the work dir. Currently i have modified our init script, so that it clears /usr/share/tomcat6/work/* But it would be nice if this could included in the rpm file, since we have lots of opensuse (and sles) installs.. Reproducible: Always Steps to Reproduce: 1./etc/init.d/tomcat stop 2.ls /usr/share/tomcat6/work/ 3. Actual Results: files and directories remain in work dir Expected Results: empty work dir I have attached a patchfile which has my changes to /etc/tomcat6/tomcat6.conf and /etc/init.d/tomcat6 Also the current configured option is false. So that new installs will behave as they do right now. With Regards, Dennis Steenstra <dennis.steenstra@snow.nl> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.