From: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Date: Mon, 28 Jun 2010 21:32:57 +0200
Subject: [PATCH] add JARs below /var to class loader

---
 conf/catalina.properties |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

--- a/conf/catalina.properties
+++ b/conf/catalina.properties
@@ -44,7 +44,7 @@ package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache
 #     "foo/*.jar": Add all the JARs of the specified folder as class
 #                  repositories
 #     "foo/bar.jar": Add bar.jar as a class repository
-common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar
+common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar,/var/lib/tomcat7/common/classes,/var/lib/tomcat7/common/*.jar
 
 #
 # List of comma-separated paths defining the contents of the "server"
@@ -57,7 +57,7 @@ common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/l
 #     "foo/*.jar": Add all the JARs of the specified folder as class
 #                  repositories
 #     "foo/bar.jar": Add bar.jar as a class repository
-server.loader=
+server.loader=/var/lib/tomcat7/server/classes,/var/lib/tomcat7/server/*.jar
 
 #
 # List of comma-separated paths defining the contents of the "shared"
@@ -71,7 +71,7 @@ server.loader=
 #     "foo/bar.jar": Add bar.jar as a class repository
 # Please note that for single jars, e.g. bar.jar, you need the URL form
 # starting with file:.
-shared.loader=
+shared.loader=/var/lib/tomcat7/shared/classes,/var/lib/tomcat7/shared/*.jar
 
 # List of JAR files that should not be scanned for configuration information
 # such as web fragments, TLD files etc. It must be a comma separated list of
