Resolution:
Description:
========
After configuring the amx plugin for Hawk, the systemNode or devNode microagent is missing from the microagent list. The following is seen in the hawk.log:
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 : null
Cause:
====
This error is reported when the LoggerFactory class could not find an appropriate binding. Placing one and only one of slf4j-nop.jar, slf4j-simple.jar, slf4j-log4j12.jar, slf4j-jdk14.jar or logback-classic.jar on the class path resolves this issue.
Resolution:
=======
Start Hawk with the command "tibhawkagent --debug" and find slf4j*.jar in class path. Then leave slf4j-api-1.5.2.jar and slf4j-log4j12-1.5.2.jar and remove any others slf4j*.jar from hawk/lib folder.
References:
=======
http://www.slf4j.org/codes.html#null_LF