[Bug 488061] New: Feature request: Tomcat6 initscript clear work directory (patch included)
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.
https://bugzilla.novell.com/show_bug.cgi?id=488061 User mvyskocil@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=488061#c1 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |ASSIGNED CC| |mvyskocil@novell.com --- Comment #1 from Michal Vyskocil <mvyskocil@novell.com> 2009-03-24 07:31:14 MST --- Thanks for bugreport and a patch. But I'm convinced that this should be fixed in upstream, rather in SUSE package. Problem is that SUSE uses a tomcat6 fromjpackage.org, so there must be two patches - one for jpackage tomcat6 and one for apache tomcat6. The difference is in start script, because upstream has catalina.sh (and bat), but jpackage uses its own dtomcat6 script. I'm looking forward how to add this to both projects. -- 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.
participants (1)
-
bugzilla_noreply@novell.com