Jump to content

Please help me with below error which i am getting when starting BW service after deployment.


Shrijeet Sinha 2

Recommended Posts

Hi,

Please help me with below error which i am getting when starting BW service after deployment.We installed BW 5.11 stack on linux.Application which are soap based service are giving below error.Deployment is fine,immediately when service says "started" it gives below error.Please advise...

 

BWENGINE-100001 Activation error with plugin agent [ES/Server/WS/intfGetSIMStatus.serviceagent]Activation error with plugin agent [ES/Server/WS/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)caused by: org.apache.catalina.LifecycleException: Failed to start component [standardServer[-1]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) 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(Unknown 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: org.apache.catalina.LifecycleException: Failed to start component [standardService[Tomcat]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 16 moreCaused by: org.apache.catalina.LifecycleException: Failed to start component [standardEngine[TomcatEngine-GetSIMStatus]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 18 moreCaused 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:302) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 20 more

Link to comment
Share on other sites

  • 8 months later...

Hello,

AFIK there are 2 possibilities:

1) your service agent might contains JMS transport and related jars for connecting to ems is missing. copy tibjms.jar & tibcrypt.jar from tibcoems*lib folder and put it /opt/tibco/tra/5.9/lib/. this will solve the issue.

2) the port which you configured in HTTP configuration might be used by some other service.

Regards,

Rajesh SP

Link to comment
Share on other sites

  • 5 months 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.HttpInitServerIOException

 

What 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 button Configure SSL in 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...