cancel
Showing results for 
Search instead for 
Did you mean: 

Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies

Former Member
0 Kudos

I am getting below error when i starting the Hybris server, Does any one idea about this error how can we resolved this issue.

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/backoffice]] at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:816) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/backoffice]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) ... 6 more Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for web application [/backoffice] 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] at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:2144) at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2090) at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1965) at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1931) at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1916) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1330) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5412) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 6 more

Thanks in Advance

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

The root cause of this issue is jar version conflict.

Hybirs shipped version 1.55, hybris/bin/platform/ext/core/lib/bcprov-jdk15on-1.55.jar

your custom extension included another version of this jar file: for example: bcprov-ext-jdk14-145.jar see this for example: https://stackoverflow.com/questions/23927880/avoid-cyclic-reference-inheritance-in-grails

Former Member
0 Kudos

If you are using Windows 10, you may want to run

netstat -a -n -p tcp -o | findstr 9001

in a command window, find the pid of the task that's listening on port 9001, and kill the task via the "End process tree" option in the details tab of Windows Task Manager. If that command does not return a pid, you may then need to go into Task Manager and look for Java(TM) SE Platform binary and right-click and End task. This is something that you may want to check each time you stop Hybris from the Command Window using control-C.
0 Kudos

Hi There,

Can anyone please provide a solution to the above problem. I am running into the same thing. Any pointers would be highly appreciated. Thanks.

Former Member
0 Kudos

The root cause of this issue is jar version conflict.

Hybirs shipped version 1.55, hybris/bin/platform/ext/core/lib/bcprov-jdk15on-1.55.jar

your custom extension included another version of this jar file: for example: bcprov-ext-jdk14-145.jar see this for example: https://stackoverflow.com/questions/23927880/avoid-cyclic-reference-inheritance-in-grails

0 Kudos

Thank you so very much...Perfect answer and it solved the issue within no time...Thank you once again.

Former Member
0 Kudos

Go to this path opt/hybris/bin/platform/tomcat/conf/wrapper.conf and change the below line wrapper.java.additional.1=-Xmx4G

0 Kudos

I'm getting the same error on startup after UPgrading Hybris from 5.1 to 6.3 version. This setting wrapper.java.additional.1=-Xmx4G is already there.

Could you please let me know how to resolve this issue?