wso2esb - WSO2 BAM 2.3.0 throws exception during startup after installing SSL certificate -
wso2 bam 2.3.0 not able start agent server running on port 7711. happens when remove default wso2carbon ssl certificate , install public ca certificate.
hence, wso2 esb not able interact bam when create bam profile under wso2 esb management console.
can me resolve issue. bellow added complete stacktrace.
[2013-08-20 07:20:16,802] error {org.wso2.carbon.databridge.receiver.thrift.internal.thriftdatareceiverds} - can not create , start agent server org.wso2.carbon.databridge.core.exception.databridgeexception: cannot start agent server on port 7713 @ org.wso2.carbon.databridge.receiver.thrift.internal.thriftdatareceiver.startsecureeventtransmission(thriftdatareceiver.java:129) @ org.wso2.carbon.databridge.receiver.thrift.internal.thriftdatareceiver.start(thriftdatareceiver.java:101) @ org.wso2.carbon.databridge.receiver.thrift.internal.thriftdatareceiverds.activate(thriftdatareceiverds.java:94) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ org.eclipse.equinox.internal.ds.model.servicecomponent.activate(servicecomponent.java:260) @ org.eclipse.equinox.internal.ds.model.servicecomponentprop.activate(servicecomponentprop.java:146) @ org.eclipse.equinox.internal.ds.model.servicecomponentprop.build(servicecomponentprop.java:347) @ org.eclipse.equinox.internal.ds.instanceprocess.buildcomponent(instanceprocess.java:620) @ org.eclipse.equinox.internal.ds.instanceprocess.buildcomponents(instanceprocess.java:197) @ org.eclipse.equinox.internal.ds.resolver.geteligible(resolver.java:343) @ org.eclipse.equinox.internal.ds.scrmanager.servicechanged(scrmanager.java:222) @ org.eclipse.osgi.internal.serviceregistry.filteredservicelistener.servicechanged(filteredservicelistener.java:107) @ org.eclipse.osgi.framework.internal.core.bundlecontextimpl.dispatchevent(bundlecontextimpl.java:861) @ org.eclipse.osgi.framework.eventmgr.eventmanager.dispatchevent(eventmanager.java:230) @ org.eclipse.osgi.framework.eventmgr.listenerqueue.dispatcheventsynchronous(listenerqueue.java:148) @ org.eclipse.osgi.internal.serviceregistry.serviceregistry.publishserviceeventprivileged(serviceregistry.java:819) @ org.eclipse.osgi.internal.serviceregistry.serviceregistry.publishserviceevent(serviceregistry.java:771) @ org.eclipse.osgi.internal.serviceregistry.serviceregistrationimpl.register(serviceregistrationimpl.java:130) @ org.eclipse.osgi.internal.serviceregistry.serviceregistry.registerservice(serviceregistry.java:214) @ org.eclipse.osgi.framework.internal.core.bundlecontextimpl.registerservice(bundlecontextimpl.java:433) @ org.eclipse.osgi.framework.internal.core.bundlecontextimpl.registerservice(bundlecontextimpl.java:451) @ org.wso2.carbon.core.init.carbonservermanager.initializecarbon(carbonservermanager.java:513) @ org.wso2.carbon.core.init.carbonservermanager.start(carbonservermanager.java:219) @ org.wso2.carbon.core.internal.carboncoreservicecomponent.activate(carboncoreservicecomponent.java:69) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ org.eclipse.equinox.internal.ds.model.servicecomponent.activate(servicecomponent.java:260) @ org.eclipse.equinox.internal.ds.model.servicecomponentprop.activate(servicecomponentprop.java:146) @ org.eclipse.equinox.internal.ds.model.servicecomponentprop.build(servicecomponentprop.java:347) @ org.eclipse.equinox.internal.ds.instanceprocess.buildcomponent(instanceprocess.java:620) @ org.eclipse.equinox.internal.ds.instanceprocess.buildcomponents(instanceprocess.java:197) @ org.eclipse.equinox.internal.ds.resolver.geteligible(resolver.java:343) @ org.eclipse.equinox.internal.ds.scrmanager.servicechanged(scrmanager.java:222) @ org.eclipse.osgi.internal.serviceregistry.filteredservicelistener.servicechanged(filteredservicelistener.java:107) @ org.eclipse.osgi.framework.internal.core.bundlecontextimpl.dispatchevent(bundlecontextimpl.java:861) @ org.eclipse.osgi.framework.eventmgr.eventmanager.dispatchevent(eventmanager.java:230) @ org.eclipse.osgi.framework.eventmgr.listenerqueue.dispatcheventsynchronous(listenerqueue.java:148) @ org.eclipse.osgi.internal.serviceregistry.serviceregistry.publishserviceeventprivileged(serviceregistry.java:819) @ org.eclipse.osgi.internal.serviceregistry.serviceregistry.publishserviceevent(serviceregistry.java:771) @ org.eclipse.osgi.internal.serviceregistry.serviceregistrationimpl.register(serviceregistrationimpl.java:130) @ org.eclipse.osgi.internal.serviceregistry.serviceregistry.registerservice(serviceregistry.java:214) @ org.eclipse.osgi.framework.internal.core.bundlecontextimpl.registerservice(bundlecontextimpl.java:433) @ org.eclipse.equinox.http.servlet.internal.activator.registerhttpservice(activator.java:81) @ org.eclipse.equinox.http.servlet.internal.activator.addproxyservlet(activator.java:60) @ org.eclipse.equinox.http.servlet.internal.proxyservlet.init(proxyservlet.java:40) @ org.wso2.carbon.tomcat.ext.servlet.delegationservlet.init(delegationservlet.java:38) @ org.apache.catalina.core.standardwrapper.initservlet(standardwrapper.java:1267) @ org.apache.catalina.core.standardwrapper.loadservlet(standardwrapper.java:1186) @ org.apache.catalina.core.standardwrapper.load(standardwrapper.java:1081) @ org.apache.catalina.core.standardcontext.loadonstartup(standardcontext.java:5027) @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5314) @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150) @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1559) @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1549) @ java.util.concurrent.futuretask$sync.innerrun(futuretask.java:303) @ java.util.concurrent.futuretask.run(futuretask.java:138) @ java.util.concurrent.threadpoolexecutor$worker.runtask(threadpoolexecutor.java:895) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:918) @ java.lang.thread.run(thread.java:662) caused by: org.wso2.carbon.databridge.commons.exception.transportexception: thrift transport exception occurred @ org.wso2.carbon.databridge.receiver.thrift.internal.thriftdatareceiver.startsecureeventtransmission(thriftdatareceiver.java:150) @ org.wso2.carbon.databridge.receiver.thrift.internal.thriftdatareceiver.startsecureeventtransmission(thriftdatareceiver.java:127) ... 63 more caused by: org.apache.thrift.transport.ttransportexception: error creating transport @ org.apache.thrift.transport.tssltransportfactory.createsslcontext(tssltransportfactory.java:201) @ org.apache.thrift.transport.tssltransportfactory.getserversocket(tssltransportfactory.java:102) @ org.wso2.carbon.databridge.receiver.thrift.internal.thriftdatareceiver.startsecureeventtransmission(thriftdatareceiver.java:146) ... 64 more caused by: java.io.ioexception: invalid keystore format @ sun.security.provider.javakeystore.engineload(javakeystore.java:633) @ sun.security.provider.javakeystore$jks.engineload(javakeystore.java:38) @ java.security.keystore.load(keystore.java:1185) @ org.apache.thrift.transport.tssltransportfactory.createsslcontext(tssltransportfactory.java:186)
looks format of keystore have used in not compatible wso2 bam. supports jks , pkcs12 formats. can find more information on adding keystore's , importing certificates [1] , [2]. note according [1] not possible delete default keystore.
[1] http://docs.wso2.org/wiki/display/bam230/adding+key+stores
[2] http://docs.wso2.org/wiki/display/bam230/import+certificates
Comments
Post a Comment