catalina.properties points to wrong location for shared libraries and classes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomcat7 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
By default, catalina.home points to /usr/share/tomcat7 and catalina.base points to /var/lib/tomcat7.
catalina.properties sets classloader paths:
common.
server.
shared.
However, the directory structure of shared/, shared/classes/, server/, server/classes/, common/ and common/classes/ all exist under /var/lib/tomcat7 (catalina.base), not /usr/share/tomcat7 (catalina.home).
Thus, any files placed into these directories are ignored.
It seems the problem is in debian/ patches/ 0006-add- JARs-below- var-to- class-loader. patch. A patch for this patch is attached.