Products | Versions |
---|---|
TIBCO Hawk | - |
Not Applicable | - |
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
...
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.