1. Home
  2. m-Power Administration
  3. Reducing Tomcat 9 Logs

Reducing Tomcat 9 Logs

Many of you who have installed or are using Tomcat 9 may have noticed the size of your Tomcat log files have increased significantly. There are thousands of lines which start with the following:

org.apache.tomcat.util.scan.StandardJarScanner.processURLs Failed to scan [file:/.../m-power/tomcat/lib/derbyLocale_cs.jar] from classloader hierarchy
java.io.FileNotFoundException: ...\m-power\tomcat\lib\derbyLocale_cs.jar (The system cannot find the file specified)

You can remove these warnings by editing a tomcat configuration file. On the m-Power server open /m-power/tomcat/conf/catalina.properties. Search and find the following line:

tomcat.util.scan.StandardJarScanFilter.jarsToSkip=\

Add “derbyLocale*.jar,\” line immediately below, like so:

tomcat.util.scan.StandardJarScanFilter.jarsToSkip=\
derbyLocale*.jar,\

Save and restart Tomcat. Once restarted, the previous warning messages will no longer appear in the logs.

You may do this in development and production or any other Tomcat 9 installations you may have.

Updated on May 19, 2023

Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!
CONTACT SUPPORT