You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2012/08/14 11:13:38 UTC

[Bug 53714] New: misleading log output when jarsToSkip cointains web-fragments

https://issues.apache.org/bugzilla/show_bug.cgi?id=53714

          Priority: P2
            Bug ID: 53714
          Assignee: dev@tomcat.apache.org
           Summary: misleading log output when jarsToSkip cointains
                    web-fragments
          Severity: minor
    Classification: Unclassified
                OS: Linux
          Reporter: volker.krebs@abas.de
          Hardware: PC
            Status: NEW
           Version: 7.0.26
         Component: Jasper
           Product: Tomcat 7

I have a jar which contains a web-fragment and no TLDs. When starting the
server I get the Message:

org.apache.jasper.compiler.TldLocationsCache tldScanJar
INFO: 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. Skipping unneeded JARs during scanning can improve
startup time and JSP compilation time.

so far so good.

When adding it to the tomcat.util.scan.DefaultJarScanner.jarsToSkip property
the web-fragment won't be scanned either.

The log message should only be printed when no TLDs and web-fragments could be
found in the jar.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 53714] misleading log output when jarsToSkip cointains web-fragments

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53714

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Fixed in trunk and 7.0.x and will be included in 7.0.30 onwards.

Note the fix was implemented using additional system properties. Determining if
a JAR had contributed to a Servlet 3.0 pluggability feature and then passing
that info the the TLD scanner would have been a much more invasive patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org