After installing the tomcat7 package on Ubuntu, you create your own tomcat instance using tomcat-instance-create <dir> . Among other files, this command creates <dir> /conf/catalina.properties, which defines
common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar,${catalina.home}/common/classes,${catalina.home}/common/*.jar
If your bank is located anywhere common.loader refers to, it will be used for all applications in the instance. CATALINA_BASE is & lt; dir> you specified in tomcat-instance-create. Thus, to maintain shared libraries between tomcat7 package updates, put them in <dir> / lib
source share