on 05-30-2016 12:24 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are using Windows 10, you may want to run
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.netstat -a -n -p tcp -o | findstr 9001
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Go to this path opt/hybris/bin/platform/tomcat/conf/wrapper.conf and change the below line wrapper.java.additional.1=-Xmx4G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.