Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-771 Add OpenJDK-OpenJ9 travis builds
  3. SHIRO-775

Excessive logging in jetty ContainerITs

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • None
    • 2.0.0-alpha
    • Integration: JEE
    • None

    Description

      JDK 11 and JDK14 will produces excessive logging for the Jetty Container ITs.

      Example:

      [INFO] --- maven-failsafe-plugin:3.0.0-M3:integration-test (default) @ samples-sprhib ---
      [INFO] 
      [INFO] -------------------------------------------------------
      [INFO]  T E S T S
      [INFO] -------------------------------------------------------
      [INFO] Running org.apache.shiro.samples.ContainerIntegrationIT
      2020-05-09 22:59:22,286 INFO [org.eclipse.jetty.util.log] - Logging initialized @466ms to org.eclipse.jetty.util.log.Slf4jLog 
      2020-05-09 22:59:22,456 INFO [org.eclipse.jetty.server.Server] - jetty-9.4.27.v20200227; built: 2020-02-27T18:37:21.340Z; git: a304fd9f351f337e7c0e2a7c28878dd536149c6c; jvm 14+36 
      2020-05-09 22:59:23,173 WARN [org.eclipse.jetty.annotations.AnnotationParser] - org.apache.shiro.ShiroException scanned from multiple locations: jar:file://$HOME/git/apache-shiro/lang/target/shiro-lang-2.0.0-SNAPSHOT.jar!/org/apache/shiro/ShiroException.class, jar:file://$HOME/git/apache-shiro/core/target/shiro-core-2.0.0-SNAPSHOT.jar!/org/apache/shiro/ShiroException.class 
      2020-05-09 22:59:23,177 WARN [org.eclipse.jetty.annotations.AnnotationParser] - org.apache.shiro.config.ConfigurationException scanned from multiple locations: jar:file://$HOME/git/apache-shiro/config/core/target/shiro-config-core-2.0.0-SNAPSHOT.jar!/org/apache/shiro/config/ConfigurationException.class, jar:file://$HOME/git/apache-shiro/config/ogdl/target/shiro-config-ogdl-2.0.0-SNAPSHOT.jar!/org/apache/shiro/config/ConfigurationException.class 
      2020-05-09 22:59:23,177 WARN [org.eclipse.jetty.annotations.AnnotationParser] - org.apache.shiro.config.Ini$1 scanned from multiple locations: jar:file://$HOME/git/apache-shiro/config/core/target/shiro-config-core-2.0.0-SNAPSHOT.jar!/org/apache/shiro/config/Ini$1.class, jar:file://$HOME/git/apache-shiro/config/ogdl/target/shiro-config-ogdl-2.0.0-SNAPSHOT.jar!/org/apache/shiro/config/Ini$1.class 
      2020-05-09 22:59:23,177 WARN [org.eclipse.jetty.annotations.AnnotationParser] - org.apache.shiro.config.Ini$Section scanned from multiple locations: jar:file://$HOME/git/apache-shiro/config/core/target/shiro-config-core-2.0.0-SNAPSHOT.jar!/org/apache/shiro/config/Ini$Section.class, jar:file://$HOME/git/apache-shiro/config/ogdl/target/shiro-config-ogdl-2.0.0-SNAPSHOT.jar!/org/apache/shiro/config/Ini$Section.class 
      2020-05-09 22:59:23,178 WARN [org.eclipse.jetty.annotations.AnnotationParser] - org.apache.shiro.crypto.CryptoException scanned from multiple locations: jar:file://$HOME/git/apache-shiro/crypto/core/target/shiro-crypto-core-2.0.0-SNAPSHOT.jar!/org/apache/shiro/crypto/CryptoException.class, jar:file://$HOME/git/apache-shiro/crypto/cipher/target/shiro-crypto-cipher-2.0.0-SNAPSHOT.jar!/org/apache/shiro/crypto/CryptoException.class 
      2020-05-09 22:59:23,183 WARN [org.eclipse.jetty.annotations.AnnotationParser] - org.apache.shiro.crypto.RandomNumberGenerator scanned from multiple locations: jar:file://$HOME/git/apache-shiro/crypto/core/target/shiro-crypto-core-2.0.0-SNAPSHOT.jar!/org/apache/shiro/crypto/RandomNumberGenerator.class, jar:file://$HOME/git/apache-shiro/crypto/cipher/target/shiro-crypto-cipher-2.0.0-SNAPSHOT.jar!/org/apache/shiro/crypto/RandomNumberGenerator.class 
      2020-05-09 22:59:23,183 WARN [org.eclipse.jetty.annotations.AnnotationParser] - org.apache.shiro.crypto.SecureRandomNumberGenerator scanned from multiple locations: jar:file://$HOME/git/apache-shiro/crypto/core/target/shiro-crypto-core-2.0.0-SNAPSHOT.jar!/org/apache/shiro/crypto/SecureRandomNumberGenerator.class, jar:file://$HOME/git/apache-shiro/crypto/cipher/target/shiro-crypto-cipher-2.0.0-SNAPSHOT.jar!/org/apache/shiro/crypto/SecureRandomNumberGenerator.class 
      2020-05-09 22:59:23,183 WARN [org.eclipse.jetty.annotations.AnnotationParser] - org.apache.shiro.crypto.UnknownAlgorithmException scanned from multiple locations: jar:file://$HOME/git/apache-shiro/crypto/core/target/shiro-crypto-core-2.0.0-SNAPSHOT.jar!/org/apache/shiro/crypto/UnknownAlgorithmException.class, jar:file://$HOME/git/apache-shiro/crypto/cipher/target/shiro-crypto-cipher-2.0.0-SNAPSHOT.jar!/org/apache/shiro/crypto/UnknownAlgorithmException.class 
      2020-05-09 22:59:23,193 WARN [org.eclipse.jetty.annotations.AnnotationParser] - org.apache.shiro.cache.AbstractCacheManager scanned from multiple locations: jar:file://$HOME/git/apache-shiro/cache/target/shiro-cache-2.0.0-SNAPSHOT.jar!/org/apache/shiro/cache/AbstractCacheManager.class, jar:file://$HOME/git/apache-shiro/core/target/shiro-core-2.0.0-SNAPSHOT.jar!/org/apache/shiro/cache/AbstractCacheManager.class 
      2020-05-09 22:59:23,194 WARN [org.eclipse.jetty.annotations.AnnotationParser] - org.apache.shiro.cache.Cache scanned from multiple locations: jar:file://$HOME/git/apache-shiro/cache/target/shiro-cache-2.0.0-SNAPSHOT.jar!/org/apache/shiro/cache/Cache.class, jar:file://$HOME/git/apache-shiro/core/target/shiro-core-2.0.0-SNAPSHOT.jar!/org/apache/shiro/cache/Cache.class 
      2020-05-09 22:59:23,194 WARN [org.eclipse.jetty.annotations.AnnotationParser] - org.apache.shiro.cache.CacheException scanned from multiple locations: jar:file://$HOME/git/apache-shiro/cache/target/shiro-cache-2.0.0-SNAPSHOT.jar!/org/apache/shiro/cache/CacheException.class, jar:file://$HOME/git/apache-shiro/core/target/shiro-core-2.0.0-SNAPSHOT.jar!/org/apache/shiro/cache/CacheException.class 
      

      This breaks the travis build (job length).

      A guess (not verified): Might be caused by https://issues.apache.org/jira/browse/SHIRO-679.

      Attachments

        Activity

          People

            fpapon Francois Papon
            bmarwell Benjamin Marwell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m