Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-191

Catalina log: Not excluded JARs without Tag Library Descriptors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • JWS 3.0.2 DR2
    • JWS 3.0.1 ER1
    • tomcat8
    • None
    • Release Notes
    • Hide
      When starting Tomcat 8, entries may be logged to `catalina.out` similar to the following:

      ----
      21-Jul-2015 09:04:58.259 INFO [localhost-startStop-1] 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. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
      21-Jul-2015 09:04:58.530 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /opt/ews/workspace/jws-3.0/tomcat8/webapps/ROOT has finished in 3,857 ms
      21-Jul-2015 09:04:58.532 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /opt/ews/workspace/jws-3.0/tomcat8/webapps/examples
      ----

      This is occurring because the following JARs should be added to `catalina.properties` as `tomcat.util.scan.StandardJarScanFilter.jarsToSkip`.

      ----
      jboss-logging.jar
      mod_cluster-container-tomcat8.jar
      mod_cluster-core.jar
      mod_cluster-container-catalina-standalone.jar
      mod_cluster-container-spi.jar
      mod_cluster-container-catalina.jar
      ----

      This issue is expected to be fixed in a future update.
      Show
      When starting Tomcat 8, entries may be logged to `catalina.out` similar to the following: ---- 21-Jul-2015 09:04:58.259 INFO [localhost-startStop-1] 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. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 21-Jul-2015 09:04:58.530 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /opt/ews/workspace/jws-3.0/tomcat8/webapps/ROOT has finished in 3,857 ms 21-Jul-2015 09:04:58.532 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /opt/ews/workspace/jws-3.0/tomcat8/webapps/examples ---- This is occurring because the following JARs should be added to `catalina.properties` as `tomcat.util.scan.StandardJarScanFilter.jarsToSkip`. ---- jboss-logging.jar mod_cluster-container-tomcat8.jar mod_cluster-core.jar mod_cluster-container-catalina-standalone.jar mod_cluster-container-spi.jar mod_cluster-container-catalina.jar ---- This issue is expected to be fixed in a future update.
    • Documented as Resolved Issue

    Description

      The catalina.out contains this log information after tomcat8 startup:

      ...
      21-Jul-2015 09:04:58.259 INFO [localhost-startStop-1] 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. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
      21-Jul-2015 09:04:58.530 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /opt/ews/workspace/jws-3.0/tomcat8/webapps/ROOT has finished in 3,857 ms
      21-Jul-2015 09:04:58.532 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /opt/ews/workspace/jws-3.0/tomcat8/webapps/examples
      21-Jul-2015 09:05:02.050 INFO [localhost-startStop-1] 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. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
      21-Jul-2015 09:05:02.270 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /opt/ews/workspace/jws-3.0/tomcat8/webapps/examples has finished in 3,737 ms
      21-Jul-2015 09:05:02.321 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /opt/ews/workspace/jws-3.0/tomcat8/webapps/host-manager
      21-Jul-2015 09:05:03.632 INFO [localhost-startStop-1] 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. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
      21-Jul-2015 09:05:03.677 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /opt/ews/workspace/jws-3.0/tomcat8/webapps/host-manager has finished in 1,355 ms
      21-Jul-2015 09:05:03.682 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /opt/ews/workspace/jws-3.0/tomcat8/webapps/docs
      21-Jul-2015 09:05:04.501 INFO [localhost-startStop-1] 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. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
      21-Jul-2015 09:05:04.515 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /opt/ews/workspace/jws-3.0/tomcat8/webapps/docs has finished in 833 ms
      21-Jul-2015 09:05:04.517 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /opt/ews/workspace/jws-3.0/tomcat8/webapps/manager
      21-Jul-2015 09:05:05.584 INFO [localhost-startStop-1] 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. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
      ...
      

      which should be solved by adding these jars

      jboss-logging.jar
      mod_cluster-container-tomcat8.jar
      mod_cluster-core.jar
      mod_cluster-container-catalina-standalone.jar
      mod_cluster-container-spi.jar
      mod_cluster-container-catalina.jar
      

      into catalina.properties as tomcat.util.scan.StandardJarScanFilter.jarsToSkip.

      Attachments

        Activity

          People

            rhn-support-csutherl Coty Sutherland
            fgoldefu@redhat.com Filip Goldefus (Inactive)
            Filip Goldefus Filip Goldefus (Inactive)
            Lucas Costi Lucas Costi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: