Fwd: Re: At least one JAR was scanned for TLDs yet contained no TLDs.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Fwd: Re: At least one JAR was scanned for TLDs yet contained no TLDs.

Raivo Rebane



-------- 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 <[hidden email]>
To: Martin Grigorov <[hidden email]>,
[hidden email]



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 ?

Regards

Raivo

On 08.10.20 09:37, Martin Grigorov wrote:

> Hi,
>
> On Wed, Oct 7, 2020 at 9:46 PM Raivo Rebane <[hidden email]> 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: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: Re: At least one JAR was scanned for TLDs yet contained no TLDs.

Martin Grigorov
On Thu, Oct 8, 2020, 14:00 Raivo Rebane <[hidden email]> 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 <[hidden email]>
> To:     Martin Grigorov <[hidden email]>,
> [hidden email]
>
>
>
> 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 <[hidden email]> 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: [hidden email]
> >> For additional commands, e-mail: [hidden email]
> >>
> >>
>
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Re: At least one JAR was scanned for TLDs yet contained no TLDs.

Raivo Rebane
In reply to this post by Raivo Rebane
Hello

if I start standalone tomcat program looks like:

17868 ?        Sl     0:02 /usr/lib/jvm/default-java/bin/java
-Djava.util.logging.config.file=/opt/tomcat/latest/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.security.egd=file:///dev/urandom -Djava.awt.headless=true
-Djdk.tls.ephemeralDHKeySize=2048
-Djava.protocol.handler.pkgs=org.apache.catalina.webresources
-Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Xms512M
-Xmx1024M -server -XX:+UseParallelGC -Dignore.endorsed.dirs= -classpath
/opt/tomcat/latest/bin/bootstrap.jar:/opt/tomcat/latest/bin/tomcat-juli.jar
-Dcatalina.base=/opt/tomcat/latest -Dcatalina.home=/opt/tomcat/latest
-Djava.io.tmpdir=/opt/tomcat/latest/temp
org.apache.catalina.startup.Bootstrap start

No jars is added to classpath

Raivo

On 08.10.20 13:59, Raivo Rebane 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 <[hidden email]>
> To:     Martin Grigorov <[hidden email]>,
> [hidden email]
>
>
>
> 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 ?
>
> Regards
>
> Raivo
>
> On 08.10.20 09:37, Martin Grigorov wrote:
>> Hi,
>>
>> On Wed, Oct 7, 2020 at 9:46 PM Raivo Rebane <[hidden email]> 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: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: At least one JAR was scanned for TLDs yet contained no TLDs.

Raivo Rebane
In reply to this post by Raivo Rebane
Hello

if I Istart tomcat program looks like:

  17868 ?        Sl     0:02 /usr/lib/jvm/default-java/bin/java
-Djava.util.logging.config.file=/opt/tomcat/latest/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.security.egd=file:///dev/urandom -Djava.awt.headless=true
-Djdk.tls.ephemeralDHKeySize=2048
-Djava.protocol.handler.pkgs=org.apache.catalina.webresources
-Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Xms512M
-Xmx1024M -server -XX:+UseParallelGC -Dignore.endorsed.dirs= -classpath
/opt/tomcat/latest/bin/bootstrap.jar:/opt/tomcat/latest/bin/tomcat-juli.jar
-Dcatalina.base=/opt/tomcat/latest -Dcatalina.home=/opt/tomcat/latest
-Djava.io.tmpdir=/opt/tomcat/latest/temp
org.apache.catalina.startup.Bootstrap start

No jars added to classpath

Why ?

Regards

Raivo


On 08.10.20 13:59, Raivo Rebane 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 <[hidden email]>
> To:     Martin Grigorov <[hidden email]>,
> [hidden email]
>
>
>
> 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 ?
>
> Regards
>
> Raivo
>
> On 08.10.20 09:37, Martin Grigorov wrote:
>> Hi,
>>
>> On Wed, Oct 7, 2020 at 9:46 PM Raivo Rebane <[hidden email]> 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: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Re: At least one JAR was scanned for TLDs yet contained no TLDs.

Martin Grigorov
In reply to this post by Raivo Rebane
On Thu, Oct 8, 2020 at 3:31 PM Raivo Rebane <[hidden email]> wrote:

> Hello
>
> if I start standalone tomcat program looks like:
>
> 17868 ?        Sl     0:02 /usr/lib/jvm/default-java/bin/java
> -Djava.util.logging.config.file=/opt/tomcat/latest/conf/logging.properties
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> -Djava.security.egd=file:///dev/urandom -Djava.awt.headless=true
> -Djdk.tls.ephemeralDHKeySize=2048
> -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
> -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Xms512M
> -Xmx1024M -server -XX:+UseParallelGC -Dignore.endorsed.dirs= -classpath
> /opt/tomcat/latest/bin/bootstrap.jar:/opt/tomcat/latest/bin/tomcat-juli.jar
>
> -Dcatalina.base=/opt/tomcat/latest -Dcatalina.home=/opt/tomcat/latest
> -Djava.io.tmpdir=/opt/tomcat/latest/temp
> org.apache.catalina.startup.Bootstrap start
>
> No jars is added to classpath
>

What are you trying to do?
Why do you start it this way and what issue do you think you have with the
TLDs ?


>
> Raivo
>
> On 08.10.20 13:59, Raivo Rebane 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 <[hidden email]>
> > To:     Martin Grigorov <[hidden email]>,
> > [hidden email]
> >
> >
> >
> > 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 ?
> >
> > Regards
> >
> > Raivo
> >
> > On 08.10.20 09:37, Martin Grigorov wrote:
> >> Hi,
> >>
> >> On Wed, Oct 7, 2020 at 9:46 PM Raivo Rebane <[hidden email]> 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: [hidden email]
> >>> For additional commands, e-mail: [hidden email]
> >>>
> >>>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Re: At least one JAR was scanned for TLDs yet contained no TLDs.

Christopher Schultz-2
In reply to this post by Raivo Rebane
Raivo,

On 10/8/20 07:22, Raivo Rebane wrote:

> Hello
>
> if I start standalone tomcat program looks like:
>
> 17868 ?        Sl     0:02 /usr/lib/jvm/default-java/bin/java
> -Djava.util.logging.config.file=/opt/tomcat/latest/conf/logging.properties
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> -Djava.security.egd=file:///dev/urandom -Djava.awt.headless=true
> -Djdk.tls.ephemeralDHKeySize=2048
> -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
> -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Xms512M
> -Xmx1024M -server -XX:+UseParallelGC -Dignore.endorsed.dirs= -classpath
> /opt/tomcat/latest/bin/bootstrap.jar:/opt/tomcat/latest/bin/tomcat-juli.jar
> -Dcatalina.base=/opt/tomcat/latest -Dcatalina.home=/opt/tomcat/latest
> -Djava.io.tmpdir=/opt/tomcat/latest/temp
> org.apache.catalina.startup.Bootstrap start
>
> No jars is added to classpath

Please read the replies to this question you got two days ago. The
classpath does not matter.

-chris

> On 08.10.20 13:59, Raivo Rebane 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 <[hidden email]>
>> To:     Martin Grigorov <[hidden email]>,
>> [hidden email]
>>
>>
>>
>> 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 ?
>>
>> Regards
>>
>> Raivo
>>
>> On 08.10.20 09:37, Martin Grigorov wrote:
>>> Hi,
>>>
>>> On Wed, Oct 7, 2020 at 9:46 PM Raivo Rebane <[hidden email]> 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: [hidden email]
>>>> For additional commands, e-mail: [hidden email]
>>>>
>>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]