Host microagent not starting, throwing the error, "Error loading microagent from com.tibco.hawk.microagent.amx.hpa.AMXHost".

Host microagent not starting, throwing the error, "Error loading microagent from com.tibco.hawk.microagent.amx.hpa.AMXHost".

book

Article ID: KB0092994

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Service Grid -
Not Applicable -

Description

Description:
Host micro agent will fail to start due to incorrect installation order. 


Symptoms:

Host micro agent will fail to start with following error in the hawk.log file.


ERROR : Error loading microagent from com.tibco.hawk.microagent.amx.hpa.AMXHost: COM.TIBCO.hawk.talon.MicroAgentException: Failed to initialize TIBCO-AMX-HOST Microagent : org.apache.log4j.Logger.isTraceEnabled()Z ## Mon May 25 09:46:59 GMT 2015 ## 
EXCEPTION : at COM.TIBCO.hawk.util.log.Log.traceMsg(Log.java:311)
at COM.TIBCO.hawk.util.log.Log.exception(Log.java:539)
at COM.TIBCO.hawk.agent.maloader.MALoader.loadMicroAgentsFromHmaFiles(MALoader.java:251)
at COM.TIBCO.hawk.agent.maloader.MALoader.loadMicroAgents(MALoader.java:58)
at COM.TIBCO.hawk.agent.HawkAgent.loadMicroagents(HawkAgent.java:271)
at COM.TIBCO.hawk.agent.HawkAgent.<init>(HawkAgent.java:92)
at COM.TIBCO.hawk.agent.HawkAgent.main(HawkAgent.java:471)
COM.TIBCO.hawk.talon.MicroAgentException: Failed to initialize TIBCO-AMX-HOST Microagent : org.apache.log4j.Logger.isTraceEnabled()Z
at com.tibco.hawk.microagent.amx.hpa.AMXHost.initializeMicroAgent(AMXHost.java:234)
at COM.TIBCO.hawk.agent.macollection.MicroAgentContainerServer.addMicroAgent(MicroAgentContainerServer.java:415)
at COM.TIBCO.hawk.agent.maloader.MALoader.loadMicroAgentsFromHmaFiles(MALoader.java:241)
at COM.TIBCO.hawk.agent.maloader.MALoader.loadMicroAgents(MALoader.java:58)
at COM.TIBCO.hawk.agent.HawkAgent.loadMicroagents(HawkAgent.java:271)
at COM.TIBCO.hawk.agent.HawkAgent.<init>(HawkAgent.java:92)
at COM.TIBCO.hawk.agent.HawkAgent.main(HawkAgent.java:471)

Cause:
HKAM-152: Incompatible JARs under Hawk 4.9 lib folder are causing this issue. 

Issue/Introduction

Host microagent not starting, throwing the error, "Error loading microagent from com.tibco.hawk.microagent.amx.hpa.AMXHost".

Environment

Product: TIBCO ActiveMatrix Service Grid Version: 3.2.0 OS: All Supported Operating Systems --------------------

Resolution

Te workaround is to backup and remove following JAR files:

<tibco_home>/hawk/4.9/lib/log4j.jar
<tibco_home>/hawk/4.9/lib/log4jProps.jar
<tibco_home>/hawk/4.9/lib/slf4j-simple-1.5.2.jar
<tibco_home>/hawk/4.9/lib/TIBCOjms.jar

TIBCO ActiveMatrix Service Grid version 3.3.0 has fixed this issue.

Additional Information

HKAM-152, SR 585000