Fixed in HK-5392: Command line ConfigureMonitoring does not work for Hawk 5.1.0 with TRA 5.9.0 and Administrator 5.9.0.

Fixed in HK-5392: Command line ConfigureMonitoring does not work for Hawk 5.1.0 with TRA 5.9.0 and Administrator 5.9.0.

book

Article ID: KB0085105

calendar_today

Updated On:

Products Versions
TIBCO Hawk -
Not Applicable -

Description

Description:
This is a known issue that ConfigureMonitoring does not work. It has been fixed in Hawk 5.1.1. If you can not apply Hawk 5.1.1, follow the instructions in the Resolution below.
Symptoms:

Exception in thread "main" java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException

        at com.tibco.pof.entitystore.EntityStoreManager.getEntityStore(EntityStoreManager.java:193)

        at com.tibco.pof.entitystore.EntityStoreManager.isInstalled(EntityStoreManager.java:408)

        at com.tibco.pof.admindomain.AdministrationDomain.isInstalled(AdministrationDomain.java:141)

        at com.tibco.hawk.monitoring.command.MonitoringArchiveCommand.init(MonitoringArchiveCommand.java:1037)

        at com.tibco.hawk.monitoring.command.MonitoringArchiveCommand.task(MonitoringArchiveCommand.java:724)

        at com.tibco.hawk.monitoring.command.MonitoringArchiveCommand.main(MonitoringArchiveCommand.java:100)

Caused by: java.lang.ClassNotFoundException: net.sf.ehcache.CacheException

...


Cause:
Some related JAR files are missing from ConfigureMonitoring.tra and some other JAR files are not placed under hawk/5.1/lib.

Issue/Introduction

Fixed in HK-5392: Command line ConfigureMonitoring does not work for Hawk 5.1.0 with TRA 5.9.0 and Administrator 5.9.0.

Resolution

1).  In the ConfigureMonitoring.tra file add the following line in variable definitions.

 

tibco.env.ADMIN_HOME=%TIBCO_ADMIN_HOME_ESC%

 

<Make sure this variable maps to actual Administrator Home path like <tibco_home>/administrator/5.9>

 

2).  Append the following line in the tibco.class.path.extended parameter in ConfigureMonitoring.tra .

 

%PSP%%TRA_HOME%/lib%PSP%%TPCL_HOME%/lib%PSP%%ADMIN_HOME%/lib

 

Replace %PSP% with ":" (on Linux) or ";" (on Windows).

 

3). Extract monitoringconsole.war (present in <tibco_home>/hawk/5.1/admin-plugins)  to some location.

 

4). Copy consolecore.jar and hawkconfigcommon.jar from the extracted location. I.E. monitoringconsole/WEB-INF/lib to hawk/5.1/lib

 

5). Run the ConfigureMonitoring tool.