Bug#517857: Do not create useless lib subdirectory in /var/lib/tomcat6 and private instances
Thierry Carrez
thierry.carrez at ubuntu.com
Mon Mar 2 15:35:46 UTC 2009
Package: tomcat6
Severity: minor
Version: 6.0.18-2
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch jaunty
Tomcat6 Java libraries are located in /usr/share/tomcat6/lib
($CATALINA_HOME/lib) but also linked to in /var/lib/tomcat6/lib
($CATALINA_BASE/lib). Tomcat 6 completely ignores $CATALINA_BASE/lib
(see /usr/share/doc/tomcat6-common/RUNNING.txt.gz for details) so this
directory is useless. It is confusing because the user tends to think he
can add libraries there as well.
In the same vein, tomcat6-instance-create also creates a "lib"
subdirectory in private tomcat6 instances... which is also ignored.
Proposed patch disables both useless directories. It's taken from
Ubuntu's recent 6.0.18-0ubuntu6.
Regards,
--
Thierry Carrez
-------------- next part --------------
A non-text attachment was scrubbed...
Name: useless-lib-directories.patch
Type: text/x-patch
Size: 1689 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20090302/28863334/attachment.bin
More information about the pkg-java-maintainers
mailing list