Jump to content

Unable to start web service SOAP/HTTP


Manoj Chaurasia

Recommended Posts

Hi,

We have deployed a tested web service in dev environment which was running fine local machine.

When we start the service we are getting error as below.

 

Activation error with plugin agent [CommerceService/commerce-v5.1-service0.serviceagent]Activation error with plugin agent [CommerceService/commerce-v5.1-service0.serviceagent] at com.tibco.pe.core.AgentJobCreator.setState(Unknown Source) at com.tibco.pe.core.JobPool.a(Unknown Source) at com.tibco.pe.core.JobPool.resume(Unknown Source) at com.tibco.pe.core.JobPool.a(Unknown Source) at com.tibco.pe.core.JobPool.startNotFT(Unknown Source) at com.tibco.pe.PEMain.a(Unknown Source) at com.tibco.pe.PEMain.do(Unknown Source) at com.tibco.pe.PEMain.a(Unknown Source) at com.tibco.pe.PEMain.(Unknown Source) at com.tibco.pe.PEMain.main(Unknown Source)caused by: An IOException occurred while initializing the service at com.tibco.bw.service.serviceAgent.ServiceServiceAgent.activate(Unknown Source) at com.tibco.pe.core.AgentJobCreator.setState(Unknown Source) at com.tibco.pe.core.JobPool.a(Unknown Source) at com.tibco.pe.core.JobPool.resume(Unknown Source) at com.tibco.pe.core.JobPool.a(Unknown Source) at com.tibco.pe.core.JobPool.startNotFT(Unknown Source) at com.tibco.pe.PEMain.a(Unknown Source) at com.tibco.pe.PEMain.do(Unknown Source) at com.tibco.pe.PEMain.a(Unknown Source) at com.tibco.pe.PEMain.(Unknown Source) at com.tibco.pe.PEMain.main(Unknown Source)caused by: com.tibco.plugin.share.http.HttpInitServerIOException at com.tibco.bw.service.binding.bwhttp.HttpDriver.startListening(Unknown Source) at com.tibco.bw.service.binding.soap.http.SoapHttpTransportApplication.activate(Un known Source) at com.tibco.bw.service.impl.DefaultService.activate(Unknown Source) at com.tibco.bw.service.serviceAgent.ServiceServiceAgent.activate(Unknown Source) at com.tibco.pe.core.AgentJobCreator.setState(Unknown Source) at com.tibco.pe.core.JobPool.a(Unknown Source) at com.tibco.pe.core.JobPool.resume(Unknown Source) at com.tibco.pe.core.JobPool.a(Unknown Source) at com.tibco.pe.core.JobPool.startNotFT(Unknown Source) at com.tibco.pe.PEMain.a(Unknown Source) at com.tibco.pe.PEMain.do(Unknown Source) at com.tibco.pe.PEMain.a(Unknown Source) at com.tibco.pe.PEMain.(Unknown Source) at com.tibco.pe.PEMain.main(Unknown Source)caused by: java.lang.VerifyError: class com.tibco.bw.service.binding.bwhttp.tomcat.TomcatRepoRealm overrides final method start.()V at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at com.tibco.bw.service.binding.bwhttp.tomcat.TomcatServer.startServer(Unknown Source) at com.tibco.bw.service.binding.bwhttp.HttpDriver.startServer(Unknown Source) at com.tibco.bw.service.binding.bwhttp.HttpDriver.startListening(Unknown Source) at com.tibco.bw.service.binding.soap.http.SoapHttpTransportApplication.activate(Un known Source) at com.tibco.bw.service.impl.DefaultService.activate(Unknown Source) at com.tibco.bw.service.serviceAgent.ServiceServiceAgent.activate(Unknown Source) at com.tibco.pe.core.AgentJobCreator.setState(Unknown Source) at com.tibco.pe.core.JobPool.a(Unknown Source) at com.tibco.pe.core.JobPool.resume(Unknown Source) at com.tibco.pe.core.JobPool.a(Unknown Source) at com.tibco.pe.core.JobPool.startNotFT(Unknown Source) at com.tibco.pe.PEMain.a(Unknown Source) at com.tibco.pe.PEMain.do(Unknown Source) at com.tibco.pe.PEMain.a(Unknown Source) at com.tibco.pe.PEMain.(Unknown Source) at com.tibco.pe.PEMain.main(Unknown Source)

Link to comment
Share on other sites

  • 1 month later...
  • 2 years later...
  • 4 years later...

This note is for Tibco BusinessWorks 5.6.

When trying to test a Service Agent in Tibco BusinessWorks from the debugger in Tibco Designer I got the following error:

null Activation error with plugin agent [ProcessDefinitions/MyService.serviceagent]

caused by: An IOException occurred while initializing the service

caused by: com.tibco.plugin.share.http.HttpInitServerIOException

caused by: LifecycleException: Protocol handler initialization failed:

com.tibco.plugin.share.http.HttpInitServerIOExceptionWhat was wrong The Service Agent had to operate over https with a client certificate. So I had to configure an Identity resource in the menu behind the buttonConfigure SSLin my HTTP connection resource. This Identity resource wasn't configured right.

The global variable BW_GLOBAL_TRUSTED_CA_STORE pointing to the trusted certificate directory the embedded Tomcat server is using needed to have three forward slashes in the url: file:///C:/TIBCO_CONFIG/truststores.

The secret key in the SSL identity resource was configured using a global variable as well. This key url needed to have only two forward slashes: file://C:/TIBCO_CONFIG/keystores/mykey.jks.

Also check the path of all certificate keystore and type of it (JKS or any other )

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...