TIBCO BusinessEvents (BE) engine deployment on TIBCO Administrator failed with ClassNotFoundException for com.tibco.be.deployment.tsm.TSMBEEngineDeployActions

TIBCO BusinessEvents (BE) engine deployment on TIBCO Administrator failed with ClassNotFoundException for com.tibco.be.deployment.tsm.TSMBEEngineDeployActions

book

Article ID: KB0081355

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition 5.5.0

Description

We have upgraded TIBCO BusinessEvents(BE) to 5.5.0. While deploying a new application through Administrator, deployment failed with:
2018 Jul 11 15:43:39:645 GMT -0500 Error [Administrator] AESDKJ-0000 [http-bio-18090-exec-81]  com.tibco.wfc.util.ServletRuntimeException: com.tibco.be.deployment.tsm.TSMBEEngineDeployActions
	at com.tibco.administrator.consoles.deploymentconfiguration.DeployUndeployDialog.if(DeployUndeployDialog.java:599)
	at com.tibco.administrator.consoles.deploymentconfiguration.DeployUndeployDialog.access$700(DeployUndeployDialog.java:76)
	at com.tibco.administrator.consoles.deploymentconfiguration.DeployUndeployDialog$11.getRow(DeployUndeployDialog.java:536)
	at com.tibco.wfc.tableview.EntityCollectionTableModel.clearFilter(EntityCollectionTableModel.java:76)
	at com.tibco.wfc.tableview.EntityCollectionTableModel.showAll(EntityCollectionTableModel.java:65)
	at com.tibco.wfc.tableview.EntityCollectionTableModel.<init>(EntityCollectionTableModel.java:34)
	at com.tibco.wfc.tableview.RefreshableEntityCollectionTableModel.<init>(RefreshableEntityCollectionTableModel.java:31)
	at com.tibco.wfc.tableview.RefreshableEntityCollectionTableModel.<init>(RefreshableEntityCollectionTableModel.java:27)
	at com.tibco.administrator.consoles.deploymentconfiguration.DeployUndeployDialog.do(DeployUndeployDialog.java:515)
	at com.tibco.administrator.consoles.deploymentconfiguration.DeployUndeployDialog.q(DeployUndeployDialog.java:377)
	at com.tibco.administrator.consoles.deploymentconfiguration.DeployUndeployDialog.access$400(DeployUndeployDialog.java:76)
	at com.tibco.administrator.consoles.deploymentconfiguration.DeployUndeployDialog$5.actionPerformed(DeployUndeployDialog.java:239)
	at com.tibco.wfc.AbstractComponent.notifyListeners(AbstractComponent.java:143)
	at com.tibco.wfc.AbstractComponent.fireActionPerformed(AbstractComponent.java:133)
	at com.tibco.wfc.AbstractComponent.processCommand(AbstractComponent.java:157)
	at com.tibco.wfc.AbstractFrame.processCommand(AbstractFrame.java:115)
	at com.tibco.wfc.FrameManager.a(FrameManager.java:254)
	at com.tibco.wfc.FrameManager.service(FrameManager.java:142)
	at com.tibco.administrator.AdministratorServlet.service(AdministratorServlet.java:958)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at com.tibco.administrator.AdministratorServletFilter.doFilter(AdministratorServletFilter.java:56)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.tibco.be.deployment.tsm.TSMBEEngineDeployActions
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at com.tibco.pof.admindomain.impl.ContainerSoftwareImpl.getActionsPlugIn(ContainerSoftwareImpl.java:258)
	at com.tibco.administrator.consoles.deploymentconfiguration.DeployUndeployDialog.a(DeployUndeployDialog.java:613)
	at com.tibco.administrator.consoles.deploymentconfiguration.DeployUndeployDialog.if(DeployUndeployDialog.java:585)
	... 41 more

 

Issue/Introduction

Deployment on TIBCO Administrator failed with "java.lang.ClassNotFoundException: com.tibco.be.deployment.tsm.TSMBEEngineDeployActions"

Environment

All supported environments

Resolution

The "java.lang.ClassNotFoundException: com.tibco.be.deployment.tsm.TSMBEEngineDeployActions" is seen when be-admin plugin is not uploaded to Administrator properly. Usually it can be resolved by the following steps:
1) Stop TIBCO Administrator Agent
2) Stop Hawk agent from both Administrator machine and BE machine
3) Stop the RVD if the transport is using RVD
4) Restart TIBCO Administrator Agent
5) Restart Hawk agent
Then wait for a while re-try the deployment.

If the issue persists, follow step 1 to 3 to stop Administrator and hawk agent, then:
- Copy the Business Events plug-in that is: “be-admin.jar” file from <be-home>/5.5/admin-plugins folder to the <tra-home>/lib folder.
This has to be done in the admin server machine and BE machine.

Then restart the admin server and hawk agent on both machines.