"java.lang.NoSuchMethodError: net.sf.ehcache.Cache.getMaxElementsInMemory()I" during hawkagent or administrator startup.

"java.lang.NoSuchMethodError: net.sf.ehcache.Cache.getMaxElementsInMemory()I" during hawkagent or administrator startup.

book

Article ID: KB0087995

calendar_today

Updated On:

Products Versions
TIBCO Administrator -
Not Applicable -

Description

Resolution:
Symptoms:
=========
"java.lang.NoSuchMethodError: net.sf.ehcache.Cache.getMaxElementsInMemory()I" during Hawk agent or Administrator startup.

Cause:
======
There must be another third-party jar file which is not compatible with Tibco products loaded during Hawk or Admin startup.

Resolution:
=========
Stop all tibco products: Hawk, Admin, BW, etc.
In &ltAdminitrator_Home>/domain/&ltdomain_name>/bin/tibcoadmin_&ltdomain>.tra and &ltTRA_Home>/domain/&ltdomain_name>/hawkagent_&ltdomain>.tra, put &ltTIBCO_HOME>/tpcl/5.7/lib/ehcache-1.3.0.jar in the front of property “tibco.class.path.extended”.

Restart all Tibco products.

Issue/Introduction

"java.lang.NoSuchMethodError: net.sf.ehcache.Cache.getMaxElementsInMemory()I" during hawkagent or administrator startup.