We let tomcat not scan the specified jar package

http://www.dailibu.com/ruby-rails/2016062422.html

tomcat servlet 3 scan excludes jar

http://www.cnblogs.com/penzz/p/3241870.html


tomcat startup error too low setting for -Xss
quote
Tomcat starts reporting an error too low setting for -Xss
The answer given on the Internet is to adjust the Xss parameter, which is not the correct way.
-Xss: Stack size of each thread, "-Xss 15120" This makes tomcat each additional thread (thread) It will consume 15M memory immediately, and the best value should be 128K, the default value seems to be 512k.
The specific error is as follows
Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for web application [] due to a StackOverflowError. Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies. The class hierarchy being processed was [org.bouncycastle.asn1.ASN1EncodableVector->org.bouncycastle.asn1.DEREncodableVector->
org.bouncycastle.asn1.ASN1EncodableVector ]
Because tomcat starts to scan the jar package and see the error message org.bouncycastle.asn1.ASN1EncodableVector, it is in this class,
which similar to the bcprov*.jar package,
so in the tomcat conf directory catalina.properties file,
Add bcprov*.jar filter to tomcat.util.scan.DefaultJarScanner.jarsToSkip=, no error will be reported at
startup ,

or upgrade tomcat version (absolute solution)

http://bbs.csdn.net/topics/390647760?page=1
http://blog.csdn.net/lb89012784/article/details/50820118

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326291151&siteId=291194637