Hi, The exception says org.bouncycastle.asn1.DEREncodableVector class is causing for a cyclic dependency. There may be two bcprov-jdk15.jars in your class path. So remove the unwanted bcprov jar from the class path. (I was able to reproduce the same error by coping the bcprov-jdk15.jar in to the ESB_HOME/bin directory)
Thanks, Chathura. On Mon, Jul 20, 2015 at 5:57 PM, Malaka Silva <mal...@wso2.com> wrote: > It seems to be an issue with the java version you are using. Try and use > a newer version of jdk 1.7. (i.e It worked with 1.7.0_60-b19 for me) > > On Mon, Jul 20, 2015 at 2:38 PM, Rajjaz Mohammed <raj...@wso2.com> wrote: > >> Hi thulasi, >> i thing that was problem in your tomcat refer [1], [2]. it will help to >> you. >> >> [1] >> http://stackoverflow.com/questions/28102134/a-child-container-failed-during-start-java-util-concurrent-executionexception >> [2] >> http://stackoverflow.com/questions/10556201/tomcat-7-0-27-not-starting >> >> On Mon, Jul 20, 2015 at 2:14 PM, Thulasika Vijayanathan < >> thulas...@wso2.com> wrote: >> >>> Hi, >>> >>> I am getting the following error when I start the ESB-4.9.0-Alpha.I am >>> able to start the ESB-4.8.1 without any issue. what could be the reason for >>> this? >>> >>> >>> thulasi@thulasi-ThinkPad-T540p >>> :~/Documents/ESB_4.9.0_Alpha/wso2esb-4.9.0-ALPHA/bin$ ./wso2server.sh >>> JAVA_HOME environment variable is set to /usr/local/java/jdk1.7.0_79 >>> CARBON_HOME environment variable is set to >>> /home/thulasi/Documents/ESB_4.9.0_Alpha/wso2esb-4.9.0-ALPHA >>> [2015-07-20 13:24:47,260] INFO - CarbonCoreActivator Starting WSO2 >>> Carbon... >>> [2015-07-20 13:24:47,263] INFO - CarbonCoreActivator Operating System : >>> Linux 3.13.0-24-generic, amd64 >>> [2015-07-20 13:24:47,263] INFO - CarbonCoreActivator Java Home : >>> /usr/local/java/jdk1.7.0_79/jre >>> [2015-07-20 13:24:47,263] INFO - CarbonCoreActivator Java Version : >>> 1.7.0_79 >>> [2015-07-20 13:24:47,263] INFO - CarbonCoreActivator Java VM : >>> Java HotSpot(TM) 64-Bit Server VM 24.79-b02,Oracle Corporation >>> [2015-07-20 13:24:47,263] INFO - CarbonCoreActivator Carbon Home : >>> /home/thulasi/Documents/ESB_4.9.0_Alpha/wso2esb-4.9.0-ALPHA >>> [2015-07-20 13:24:47,263] INFO - CarbonCoreActivator Java Temp Dir : >>> /home/thulasi/Documents/ESB_4.9.0_Alpha/wso2esb-4.9.0-ALPHA/tmp >>> [2015-07-20 13:24:47,264] INFO - CarbonCoreActivator User : >>> thulasi, en-US, Asia/Colombo >>> [2015-07-20 13:24:47,334] WARN - ValidationResultPrinter Carbon is >>> configured to use the default keystore (wso2carbon.jks). To maximize >>> security when deploying to a production environment, configure a new >>> keystore with a unique password in the production server profile. >>> [2015-07-20 13:24:47,335] WARN - ValidationResultPrinter Swap Memory >>> size (MB): 0 of the system is below the recommended minimum size :2047 >>> [2015-07-20 13:24:47,342] INFO - AgentHolder Agent created ! >>> [2015-07-20 13:24:47,356] INFO - AgentDS Successfully deployed Agent >>> Client >>> [2015-07-20 13:24:47,527] INFO - NamespaceHandlerRegisterer Registered >>> blueprint namespace handler for http://cxf.apache.org/blueprint/core >>> [2015-07-20 13:24:47,527] INFO - NamespaceHandlerRegisterer Registered >>> blueprint namespace handler for >>> http://cxf.apache.org/configuration/beans >>> [2015-07-20 13:24:47,527] INFO - NamespaceHandlerRegisterer Registered >>> blueprint namespace handler for >>> http://cxf.apache.org/configuration/parameterized-types >>> [2015-07-20 13:24:47,527] INFO - NamespaceHandlerRegisterer Registered >>> blueprint namespace handler for >>> http://cxf.apache.org/configuration/security >>> [2015-07-20 13:24:47,527] INFO - NamespaceHandlerRegisterer Registered >>> blueprint namespace handler for http://schemas.xmlsoap.org/wsdl/ >>> [2015-07-20 13:24:47,527] INFO - NamespaceHandlerRegisterer Registered >>> blueprint namespace handler for http://www.w3.org/2005/08/addressing >>> [2015-07-20 13:24:47,527] INFO - NamespaceHandlerRegisterer Registered >>> blueprint namespace handler for >>> http://schemas.xmlsoap.org/ws/2004/08/addressing >>> [2015-07-20 13:24:49,122] ERROR - ContainerBase A child container failed >>> during start >>> java.util.concurrent.ExecutionException: >>> org.apache.catalina.LifecycleException: Failed to start component >>> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/]] >>> at java.util.concurrent.FutureTask.report(FutureTask.java:122) >>> at java.util.concurrent.FutureTask.get(FutureTask.java:188) >>> 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:262) >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>> at java.lang.Thread.run(Thread.java:745) >>> Caused by: org.apache.catalina.LifecycleException: Failed to start >>> component >>> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/]] >>> 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 [/] 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 >>> [2015-07-20 13:24:49,124] ERROR - ContainerBase A child container failed >>> during start >>> java.util.concurrent.ExecutionException: >>> org.apache.catalina.LifecycleException: Failed to start component >>> [StandardEngine[Catalina].StandardHost[localhost]] >>> at java.util.concurrent.FutureTask.report(FutureTask.java:122) >>> at java.util.concurrent.FutureTask.get(FutureTask.java:188) >>> at >>> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123) >>> at >>> org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300) >>> at >>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >>> at >>> org.wso2.carbon.tomcat.ext.service.ExtendedStandardService.startInternal(ExtendedStandardService.java:49) >>> at >>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >>> at >>> org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:739) >>> at >>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >>> at >>> org.wso2.carbon.tomcat.internal.CarbonTomcat.start(CarbonTomcat.java:103) >>> at >>> org.wso2.carbon.tomcat.internal.ServerManager$1.run(ServerManager.java:99) >>> at java.lang.Thread.run(Thread.java:745) >>> Caused by: org.apache.catalina.LifecycleException: Failed to start >>> component [StandardEngine[Catalina].StandardHost[localhost]] >>> at >>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) >>> 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:262) >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>> ... 1 more >>> Caused by: org.apache.catalina.LifecycleException: A child container >>> failed during start >>> at >>> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131) >>> at >>> org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:816) >>> at >>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >>> ... 6 more >>> [2015-07-20 13:24:49,125] ERROR - ServerManager tomcat life-cycle >>> exception >>> org.apache.catalina.LifecycleException: Failed to start component >>> [StandardServer[8005]] >>> at >>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) >>> at >>> org.wso2.carbon.tomcat.internal.CarbonTomcat.start(CarbonTomcat.java:103) >>> at >>> org.wso2.carbon.tomcat.internal.ServerManager$1.run(ServerManager.java:99) >>> at java.lang.Thread.run(Thread.java:745) >>> Caused by: org.apache.catalina.LifecycleException: Failed to start >>> component [StandardService[Catalina]] >>> at >>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) >>> at >>> org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:739) >>> at >>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >>> ... 3 more >>> Caused by: org.apache.catalina.LifecycleException: Failed to start >>> component [StandardEngine[Catalina]] >>> at >>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) >>> at >>> org.wso2.carbon.tomcat.ext.service.ExtendedStandardService.startInternal(ExtendedStandardService.java:49) >>> at >>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >>> ... 5 more >>> Caused by: org.apache.catalina.LifecycleException: A child container >>> failed during start >>> at >>> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131) >>> at >>> org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300) >>> at >>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >>> ... 7 more >>> [2015-07-20 13:24:50,712] INFO - EmbeddedRegistryService Configured >>> Registry in 33ms >>> [2015-07-20 13:24:50,763] INFO - RegistryCoreServiceComponent Registry >>> Mode : READ-WRITE >>> [2015-07-20 13:24:50,970] INFO - UserStoreMgtDSComponent Carbon >>> UserStoreMgtDSComponent activated successfully. >>> >>> Thanks, >>> >>> -- >>> Thulasika >>> Associate Software Engineer >>> Mobile:0778014295 >>> email: thulas...@wso2.com <sanj...@wso2.com> >>> >>> _______________________________________________ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Thank you >> Best Regards >> >> Rajjaz HM >> Associate Software Engineer >> WSO2 Inc. <http://wso2.com/> >> lean | enterprise | middleware >> Mobile : +94752833834 >> Email :raj...@wso2.com >> LinkedIn | Blogger | WSO2 Profile >> <http://wso2.com/about/team/mohammer_rajjaz/> >> > > > > -- > > Best Regards, > > Malaka Silva > Senior Tech Lead > M: +94 777 219 791 > Tel : 94 11 214 5345 > Fax :94 11 2145300 > Skype : malaka.sampath.silva > LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 > Blog : http://mrmalakasilva.blogspot.com/ > > WSO2, Inc. > lean . enterprise . middleware > http://www.wso2.com/ > http://www.wso2.com/about/team/malaka-silva/ > <http://wso2.com/about/team/malaka-silva/> > > Save a tree -Conserve nature & Save the world for your future. Print this > email only if it is absolutely necessary. > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Chathura Priyankara Software Engineer | WSO2 Inc. Mobile : +94718795340 Blog : www.codeoncloud.blogspot.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev