[Bug 324212] [NEW] Tomcat 6 does not respect CATALINA_BASE/lib
Magne Rasmussen
magne.rasmussen at gmail.com
Mon Feb 2 08:26:45 GMT 2009
Public bug reported:
Binary package hint: tomcat6
Tomcat6 ignores any libraries placed in CATALINA_BASE/lib.
As commented by Thierry Carrez in https://bugs.launchpad.net/bugs/315314:
Tomcat6 is run with CATALINA_HOME set to /usr/share/tomcat6 and CATALINA_BASE set
to /var/lib/tomcat6. If you read the Tomcat RUNNING.txt doc (available at
/usr/share/doc/tomcat6-common/RUNNING.txt.gz) you'll see that Tomcat6 is looking at
libraries at CATALINA_HOME/lib and doesn't look into CATALINA_BASE/lib. So the current
behavior is following the spec.
This is confusing, since every other directory (bin, conf, logs,
webapps, work, and temp) is respected in CATALINA_BASE, and especially
since the CATALINA_BASE/lib directory exists. It also makes it
impossible to run two instances of Tomcat with conflicting libraries.
I propose that Tomcat6 also uses CATALINA_BASE/lib (before, or instead
of, CATALINA_HOME/lib) when searching for classes.
Distro/package versions:
Ubuntu 8.10
tomcat6*: 6.0.18-0ubuntu3.1
** Affects: tomcat6 (Ubuntu)
Importance: Undecided
Status: New
--
Tomcat 6 does not respect CATALINA_BASE/lib
https://bugs.launchpad.net/bugs/324212
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list