Hi Dmitry, why do you link it to JasperInitializer? Do you know why this jar is not scannable?
Anyway creating a file conf/exclusions.list with this content: default-list sonic should do the trick. Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2016-05-30 20:56 GMT+02:00 dimas <[email protected]>: > Hi All, > > I just upgraded to TomEE 7 and getting some jar scanning warnings that I > didn’t see before, for example: > > WARNING - Failed to scan > > [file:/C:/distributions/apache-tomee-webprofile-7.0.0/lib/sonic_Channel.jar] > from classloader hierarchy > java.io.FileNotFoundException: > C:\distributions\apache-tomee-webprofile-7.0.0\lib\sonic_Channel.jar (The > system cannot find the file specified) > > I tried to specify > > tomcat.util.scan.StandardJarScanFilter.jarsToSkip = sonic_*.jar > > in system.properties but it’s doesn’t do anything (probably I’m doing it > wrong). > > What is the best way in TomEE 7 to disable the jar scanning (or disable the > loading of org.apache.jasper.servlet.JasperInitializer) > > Cheers, > Dmitry > > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/WARNING-Failed-to-scan-jar-from-classloader-hierarchy-tp4678670.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
