Hi Mark, We are running 4 war build copies of same source code with different environments. It does run fine on a Windows machine, but when we deploy it to Ubuntu server it give the error mentioned.
We did not directly include these dependencies, these might be some dependency we used that will be dependent on the bouncycastle. Any way to find out that dependency. Regards, Faisal Zaidi -----Original Message----- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, January 9, 2019 7:28 PM To: Tomcat Users List Subject: Re: Too low setting for -Xss and illegal cyclic inheritance dependencies On 09/01/2019 13:21, fai...@bestercapitalmedia.com wrote: > It does compile some war files but raised an error on some or all of the> war files, with random behavior. You have a corrupt JAR or conflicting dependencies or similar. > Caused by: java.lang.IllegalStateException: Unable to complete the > scan for annotations for web application [/Stage] 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.DERE > ncodableVector->org.bouncycastle.asn1.ASN1EncodableVector] That is telling you that: org.bouncycastle.asn1.ASN1EncodableVector inherits from org.bouncycastle.asn1.DEREncodableVector which inherits from org.bouncycastle.asn1.ASN1EncodableVector You cannot have circular inheritance in Java. You need to look at the JAR(s) in your web application that provide those classes. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org