When using EMS plugin from EMS 7.0 on Hawk 5.1- java.lang.ClassNotFoundException: com.tibco.tibjms.admin.hawk.HawkController.

When using EMS plugin from EMS 7.0 on Hawk 5.1- java.lang.ClassNotFoundException: com.tibco.tibjms.admin.hawk.HawkController.

book

Article ID: KB0077721

calendar_today

Updated On:

Products Versions
TIBCO Hawk -
Not Applicable -

Description

Description:
When using EMS plugin from EMS 7.0 on Hawk 5.1 -  java.lang.ClassNotFoundException: com.tibco.tibjms.admin.hawk.HawkController.
Symptoms:
Error [Application] HWKAGT-060104 Error loading microagent from com.tibco.tibjms.admin.hawk.HawkController: java.lang.ClassNotFoundException: com.tibco.tibjms.admin.hawk.HawkController
2014 Aug 31 20:27:40:374 GMT -07:00 HawkAgent.centos Error [Application] HWKAGT-060104 java.lang.ClassNotFoundException: com.tibco.tibjms.admin.hawk.HawkController
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 java.lang.ClassLoader.loadClass(Unknown Source)
at COM.TIBCO.hawk.agent.maloader.MALoader.loadMicroAgentsFromHmaFiles(MALoader.java:183)
at COM.TIBCO.hawk.agent.maloader.MALoader.loadMicroAgents(MALoader.java:51)
at COM.TIBCO.hawk.agent.HawkAgent.loadMicroagents(HawkAgent.java:279)
at COM.TIBCO.hawk.agent.HawkAgent.<init>(HawkAgent.java:105)
at COM.TIBCO.hawk.agent.HawkAgent.main(HawkAgent.java:449)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.tibco.tra.tsm.startup.TSMWrapper.<init>(TSMWrapper.java:93)
at com.tibco.tra.tsm.startup.TSMWrapper.main(TSMWrapper.java:28)

Cause:
The tibjmsadmin.jar under EMS/lib does not have the class com.tibco.tibjms.admin.hawk.HawkController from EMS 7.0 and higher version. However, tibjmsadmin.jar from EMS 6.3 and lower version has this class com.tibco.tibjms.admin.hawk.HawkController.

Issue/Introduction

When using EMS plugin from EMS 7.0 on Hawk 5.1- java.lang.ClassNotFoundException: com.tibco.tibjms.admin.hawk.HawkController.

Resolution

1. [Recommended] As EMS 7.x or 8.x is used with Hawk 5.x and Hawk 6.x, we suggest customer copy Hawk EMS plugin template from $TIBCO_HOME/hawk/5.x/plugin/ems(or $TIBCO_HOME/hawk/6.x/plugin/ems) which is using "<classname>com.tibco.hawk.tibjms.HawkController</classname>", then re-create rulebase or modify existing .hrb file manually to update microagent name of EMS plugin.

2. [Not recommanded] If you still want to use existing rulebase, then please copy tibjmsadmin.jar from EMS(6.3 or lower version or from old working environment)  or download from this article.
 
Please contact TIBCO Support if any further questions.

Additional Information

com.tibco.tibjms.admin.hawk.HawkController

Attachments

When using EMS plugin from EMS 7.0 on Hawk 5.1- java.lang.ClassNotFoundException: com.tibco.tibjms.admin.hawk.HawkController. get_app