{"id":10769,"date":"2021-02-19T12:49:22","date_gmt":"2021-02-19T18:49:22","guid":{"rendered":"http:\/\/www.mrc-productivity.com\/techblog\/?p=10769"},"modified":"2023-05-19T13:50:32","modified_gmt":"2023-05-19T19:50:32","slug":"reducing-tomcat-9-logs","status":"publish","type":"ht_kb","link":"https:\/\/www.mrc-productivity.com\/techblog\/?ht_kb=reducing-tomcat-9-logs","title":{"rendered":"Reducing Tomcat 9 Logs"},"content":{"rendered":"<p>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:<\/p>\n<p style=\"font-size: 14px;\"><code>org.apache.tomcat.util.scan.StandardJarScanner.processURLs Failed to scan [file:\/...\/m-power\/tomcat\/lib\/derbyLocale_cs.jar] from classloader hierarchy<br \/>\njava.io.FileNotFoundException: ...\\m-power\\tomcat\\lib\\derbyLocale_cs.jar (The system cannot find the file specified)<\/code><\/p>\n<p>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:<\/p>\n<p style=\"font-size: 14px;\"><code>tomcat.util.scan.StandardJarScanFilter.jarsToSkip=\\<\/code><\/p>\n<p>Add &#8220;derbyLocale*.jar,\\&#8221; line immediately below, like so:<\/p>\n<p style=\"font-size: 14px;\"><code>tomcat.util.scan.StandardJarScanFilter.jarsToSkip=\\<br \/>\nderbyLocale*.jar,\\<\/code><\/p>\n<p>Save and restart Tomcat. Once restarted, the previous warning messages will no longer appear in the logs.<\/p>\n<p>You may do this in development and production or any other Tomcat 9 installations you may have.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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:\/&#8230;\/m-power\/tomcat\/lib\/derbyLocale_cs.jar] from classloader hierarchy java.io.FileNotFoundException: &#8230;\\m-power\\tomcat\\lib\\derbyLocale_cs.jar (The system cannot find the file&#8230;<\/p>\n","protected":false},"author":10,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[152],"ht-kb-tag":[],"class_list":["post-10769","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-administration"],"_links":{"self":[{"href":"https:\/\/www.mrc-productivity.com\/techblog\/index.php?rest_route=\/wp\/v2\/ht-kb\/10769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mrc-productivity.com\/techblog\/index.php?rest_route=\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.mrc-productivity.com\/techblog\/index.php?rest_route=\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/techblog\/index.php?rest_route=\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/techblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10769"}],"version-history":[{"count":13,"href":"https:\/\/www.mrc-productivity.com\/techblog\/index.php?rest_route=\/wp\/v2\/ht-kb\/10769\/revisions"}],"predecessor-version":[{"id":10782,"href":"https:\/\/www.mrc-productivity.com\/techblog\/index.php?rest_route=\/wp\/v2\/ht-kb\/10769\/revisions\/10782"}],"wp:attachment":[{"href":"https:\/\/www.mrc-productivity.com\/techblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10769"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/techblog\/index.php?rest_route=%2Fwp%2Fv2%2Fht-kb-category&post=10769"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/techblog\/index.php?rest_route=%2Fwp%2Fv2%2Fht-kb-tag&post=10769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}