BINGO here the solution to find a cyclic reference in a maven project : mvn dependency:tree -Dverbose -Dincludes=org.bouncycastle So I have added an exclusion and now my Tomcat is very very happy :-)
2013/4/12 antoine philippe chaker <philippe.cha...@gmail.com> > I'm trying to list all dependencies and references into my pom. > > > 2013/4/12 antoine philippe chaker <philippe.cha...@gmail.com> > >> Thanks all, >> >> Konstantin, there are a lot of jar and dependencies in my application. >> I think that the problem comes from there but how can I find the cyclic >> references ? >> >> Yes Howard, it's me and I see you everyday on the other list (you're >> good!). >> About my jvm, I'm using the default java memory options (1.7.0_11). >> >> >> >> >> 2013/4/12 Howard W. Smith, Jr. <smithh032...@gmail.com> >> >> Antoine Philippe, >>> >>> >>> On Fri, Apr 12, 2013 at 6:17 PM, antoine philippe chaker < >>> philippe.cha...@gmail.com> wrote: >>> >>> > Hi all, >>> > >>> > Caused by: java.lang.IllegalStateException: Unable to complete the >>> scan for >>> > annotations for web application [/autodis] 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] >>> > >>> >>> I think I've seen you in atmosphere google groups, so I wanted to listen >>> in >>> on the outcome of this thread, but then I saw the error message above, >>> and >>> it reminded me of the cyclic references I had in my app (even though this >>> seems to be tomcat code). >>> >>> Since the error mention -Xss, can you share your java memory options to >>> the >>> list? >>> >>> FYI, your post just motivated me to ask a question in a separate topic, >>> since I'm using Tomcat 7.0.39 (via TomEE 1.6.0 snapshot) and Atmosphere >>> 1.0.13 (snapshot). >>> >> >> >> >> -- >> CHAKER Antoine Philippe Chekry >> Ingénieur Informaticien / Software Engineer >> Cote d'Ivoire / Ivory Coast >> Afrique de l'Ouest / West Africa >> >> * >> * >> > > > > -- > CHAKER Antoine Philippe Chekry > Ingénieur Informaticien / Software Engineer > Cote d'Ivoire / Ivory Coast > Afrique de l'Ouest / West Africa > > * > * > -- CHAKER Antoine Philippe Chekry Ingénieur Informaticien / Software Engineer Cote d'Ivoire / Ivory Coast Afrique de l'Ouest / West Africa * *