On Thu, Oct 8, 2020, 14:00 Raivo Rebane <ra...@r-systems.ee> wrote: > > > > -------- Forwarded Message -------- > Subject: Re: At least one JAR was scanned for TLDs yet contained no > TLDs. > Date: Thu, 8 Oct 2020 13:37:49 +0300 > From: Raivo Rebane <ra...@r-systems.ee> > To: Martin Grigorov <mgrigo...@apache.org>, > users-get.123_...@tomcat.apache.org > > > > Hello > > I debaged the jars list and got following: > > 08-Oct-2020 13:27:07.240 FINE [main] > org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD > files were found in > [file:/opt/tomcat/apache-tomcat-9.0.38/lib/batik-parser.jar]. Consider > adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip > property in CATALINA_BASE/conf/catalina.properties file. > 08-Oct-2020 13:27:07.241 FINE [main] > org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD > files were found in > [file:/opt/tomcat/apache-tomcat-9.0.38/lib/batik-transcoder.jar]. > Consider adding the JAR to the > tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in > CATALINA_BASE/conf/catalina.properties file. > 08-Oct-2020 13:27:07.241 FINE [main] > org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD > files were found in > [file:/opt/tomcat/apache-tomcat-9.0.38/lib/batik-gui-util.jar]. Consider > adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip > property in CATALINA_BASE/conf/catalina.properties file. > 08-Oct-2020 13:27:07.241 FINE [main] > org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD > files were found in > [file:/opt/tomcat/apache-tomcat-9.0.38/lib/batik-svggen.jar]. Consider > adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip > property in CATALINA_BASE/conf/catalina.properties file. > 08-Oct-2020 13:27:07.241 FINE [main] > org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD > files were found in > [file:/opt/tomcat/apache-tomcat-9.0.38/lib/batik-xml.jar]. Consider > adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip > property in CATALINA_BASE/conf/catalina.properties file. > 08-Oct-2020 13:27:07.241 FINE [main] > org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD > files were found in > [file:/opt/tomcat/apache-tomcat-9.0.38/lib/batik-awt-util.jar]. Consider > adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip > property in CATALINA_BASE/conf/catalina.properties file. > 08-Oct-2020 13:27:07.242 FINE [main] > org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD > files were found in > [file:/opt/tomcat/apache-tomcat-9.0.38/lib/batik-util.jar]. Consider > adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip > property in CATALINA_BASE/conf/catalina.properties file. > 08-Oct-2020 13:27:07.242 FINE [main] > org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD > files were found in > [file:/opt/tomcat/apache-tomcat-9.0.38/lib/batik-script.jar]. Consider > adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip > property in CATALINA_BASE/conf/catalina.properties file. > 08-Oct-2020 13:27:07.242 FINE [main] > org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD > files were found in > [file:/opt/tomcat/apache-tomcat-9.0.38/lib/batik-bridge.jar]. Consider > adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip > property in CATALINA_BASE/conf/catalina.properties file. > 08-Oct-2020 13:27:07.242 FINE [main] > org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD > files were found in > [file:/opt/tomcat/apache-tomcat-9.0.38/lib/batik-dom.jar]. Consider > adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip > property in CATALINA_BASE/conf/catalina.properties file. > 08-Oct-2020 13:27:07.242 FINE [main] > org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD > files were found in > [file:/opt/tomcat/apache-tomcat-9.0.38/lib/batik-gvt.jar]. Consider > adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip > property in CATALINA_BASE/conf/catalina.properties file. > 08-Oct-2020 13:27:07.242 FINE [main] > org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD > files were found in > [file:/opt/tomcat/apache-tomcat-9.0.38/lib/batik-swing.jar]. Consider > adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip > property in CATALINA_BASE/conf/catalina.properties file. > 08-Oct-2020 13:27:07.242 FINE [main] > org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD > files were found in > [file:/opt/tomcat/apache-tomcat-9.0.38/lib/batik-constants.jar]. > Consider adding the JAR to the > tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in > CATALINA_BASE/conf/catalina.properties file. > 08-Oct-2020 13:27:07.242 FINE [main] > org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD > files were found in > [file:/opt/tomcat/apache-tomcat-9.0.38/lib/batik-extension.jar]. > Consider adding the JAR to the > tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in > CATALINA_BASE/conf/catalina.properties file. > 08-Oct-2020 13:27:07.243 FINE [main] > org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD > files were found in > [file:/opt/tomcat/apache-tomcat-9.0.38/lib/batik-css.jar]. Consider > adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip > property in CATALINA_BASE/conf/catalina.properties file. > 08-Oct-2020 13:27:07.243 FINE [main] > org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD > files were found in > [file:/opt/tomcat/apache-tomcat-9.0.38/lib/batik-svg-dom.jar]. Consider > adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip > property in CATALINA_BASE/conf/catalina.properties file. > 08-Oct-2020 13:27:07.243 FINE [main] > org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD > files were found in > [file:/opt/tomcat/apache-tomcat-9.0.38/lib/batik-ext.jar]. Consider > adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip > property in CATALINA_BASE/conf/catalina.properties file. > 08-Oct-2020 13:27:07.243 FINE [main] > org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD > files were found in > [file:/opt/tomcat/apache-tomcat-9.0.38/lib/batik-i18n.jar]. Consider > adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip > property in CATALINA_BASE/conf/catalina.properties file. > > How to ADD these files to tomcat classpath ? >
Which files? The jars are in the class loader. They just don't have TLDs. > Regards > > Raivo > > On 08.10.20 09:37, Martin Grigorov wrote: > > Hi, > > > > On Wed, Oct 7, 2020 at 9:46 PM Raivo Rebane <ra...@r-systems.ee> wrote: > > > >> Hello > >> > >> If I start Tomcat9 I got following: > >> > >> [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR > >> was scanned for TLDs yet contained no TLDs. Enable debug logging for > >> this logger for a complete list of JARs that were scanned but no TLDs > >> were found in them. > >> > >> I would like to know which JARS is mentioned > >> > >> I add following lines to catalina.properies: > >> > >> org.apache.jasper.compiler.TldLocationsCache.level = ALL > >> org.apache.jasper.servlet.TldScanner.level = ALL > >> > >> But I dont have list of these JARS > >> > >> And how to add these JARS to classpath anyway ? > >> > > Enable debug for org.apache.jasper.servlet.TldScanner > > > > > >> Regards > >> > >> Raivo > >> > >> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > >> For additional commands, e-mail: users-h...@tomcat.apache.org > >> > >> >