What is the perfect tomcat virtualization config file?
Solution 1:
During application startup Tomcat scans all the *.jar
files in $CATALINA_HOME/lib
(/usr/share/tomcat8/lib
on Debianoids), $CATALINA_BASE/lib
(usually /var/lib/tomcat8/lib
if you have only one Tomcat running) and in the per-application WEB-INF/lib
folders.
Your logs indicate that you have some jar files in /var/lib/tomcat8/lib/lib
(sic!) that can be listed, but cannot be opened. My guess is: those are some dangling symbolic links, which you inadvertedly added during the installation.
Note: With the exception of some JDBC drivers and similar, your application don't need any files in $CATALINA_BASE/lib
.