Following problems with the wrong statement:
1. Odering is wrong: catalina.base should overrule catalina.home here (see class loader howto below).
2. catalina.home is expanded normally to /usr/share/tomcat7, but there is no common directory - it is below
/var/lib/tomcat7 (as expanded by catalina.base).
3. ${catalina.base}/lib,${catalina.base}/lib/*.jar are pointing to non existing directories. I recommend to skip this part.
For reference see https://tomcat.apache.org/tomcat-7.0-doc/class-loader-howto.html
> The locations searched by this class loader are defined by the common.loader property in
> $CATALINA_BASE/conf/catalina.properties.
> The default setting will search the following locations in the order they are listed:
>
> unpacked classes and resources in $CATALINA_BASE/lib
> JAR files in $CATALINA_BASE/lib
> unpacked classes and resources in $CATALINA_HOME/lib
> JAR files in $CATALINA_HOME/lib
Please fix the following line in catalina.properties in all tomcat source packages.
WRONG: loader= ${catalina. base}/lib, ${catalina. base}/lib/ *.jar,$ {catalina. home}/lib, ${catalina. home}/lib/ *.jar,$ {catalina. home}/common/ classes, ${catalina. home}/common/ *.jar
common.
CORRECT: loader= ${catalina. base}/common/ classes, ${catalina. base}/common/ *.jar,$ {catalina. home}/lib, ${catalina. home}/lib/ *.jar
common.
Following problems with the wrong statement: base}/lib, ${catalina. base}/lib/ *.jar are pointing to non existing directories. I recommend to skip this part.
1. Odering is wrong: catalina.base should overrule catalina.home here (see class loader howto below).
2. catalina.home is expanded normally to /usr/share/tomcat7, but there is no common directory - it is below
/var/lib/tomcat7 (as expanded by catalina.base).
3. ${catalina.
For reference see https:/ /tomcat. apache. org/tomcat- 7.0-doc/ class-loader- howto.html BASE/conf/ catalina. properties.
> The locations searched by this class loader are defined by the common.loader property in
> $CATALINA_
> The default setting will search the following locations in the order they are listed:
>
> unpacked classes and resources in $CATALINA_BASE/lib
> JAR files in $CATALINA_BASE/lib
> unpacked classes and resources in $CATALINA_HOME/lib
> JAR files in $CATALINA_HOME/lib