[ 
https://issues.apache.org/jira/browse/SHIRO-775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francois Papon resolved SHIRO-775.
----------------------------------
    Resolution: Resolved

> Excessive logging in jetty ContainerITs
> ---------------------------------------
>
>                 Key: SHIRO-775
>                 URL: https://issues.apache.org/jira/browse/SHIRO-775
>             Project: Shiro
>          Issue Type: Sub-task
>          Components: Integration: JEE
>            Reporter: Benjamin Marwell
>            Assignee: Francois Papon
>            Priority: Major
>             Fix For: 2.0.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> JDK 11 and JDK14 will produces excessive logging for the Jetty Container ITs.
> Example:
> {code:java}
> [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
>  
> {code}
> This breaks the travis build (job length).
> A guess (not verified): Might be caused by 
> https://issues.apache.org/jira/browse/SHIRO-679.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to