HawkAgent is not visible on hawkwebconsole

HawkAgent is not visible on hawkwebconsole

book

Article ID: KB0083753

calendar_today

Updated On:

Products Versions
TIBCO Runtime Agent (TRA) 5.10

Description

Unable to see a running HawkAgent in the hawkwebconsole because of an incorrect configuration in DomainTransportCfg.xml file and hawkagent.cfg file. The Hawk_Domain name in hawkagent.cfg, should be stated in the DomainTransportCfg.xml file with the transport details. After restarting the HawkAgent and hawkwebconsole's tibhawkh2db.exe and startwebconsole services, the following error may be thrown.

=============
Exception in thread "<Machine_name> -- startConsole" java.lang.RuntimeException: javax/jms/JMSException    at com.tibco.hawk.webconsole.server.HawkWebConsole.startConsole(HawkWebConsole.java:172)    at com.tibco.hawk.webconsole.server.HawkWebConsole.access$200(HawkWebConsole.java:81)    at com.tibco.hawk.webconsole.server.HawkWebConsole$1.run(HawkWebConsole.java:116)    at java.lang.Thread.run(Thread.java:745)
============

Issue/Introduction

A running HawkAgent is not visible on hawkwebconsole when using EMS as a transport.

Environment

Any Environment

Resolution

This error is related to the jms.jar or jms-2.0.jar. If the user is using EMS 8.x then they need jms-2.0.jar stated in the classpath of the setenv.bat file. Copy jms-2.0.jar from EMS_HOME/8.x/lib to hawk\5.2\webconsole\tomcat\lib , else you can add the location of jms-2.0.jar to the TIBCO_HOME\hawk\5.2\webconsole\tomcat\bin\setenv.bat and restart the tibhawkh2db.exe & startwebconsole services.