TsmMethodSubscriber failure caused by invalid method name.

TsmMethodSubscriber failure caused by invalid method name.

book

Article ID: KB0088753

calendar_today

Updated On:

Products Versions
TIBCO Administrator -
Not Applicable -

Description

Description:
Machine status in TIBCO Administrator GUI is green OK, but detailed inforamtion like CPU, Memory, Disk is not dispalyed.  
Symptoms:
Machine status in TIBCO Administrator GUI is green OK, but detailed inforamtion like CPU, Memory, Disk is not diplayed.  
And TsmMethodSubscriber failure caused by invalid method name can be observed in log file tsm.log.  
============
<----- tsm.log -----
2014 Feb 06 09:18:40:203 GMT 1 tsm Error [] [TRA-000303] Method subscription on Agent "sasv0277" MicroAgent "sasv0277" method "COM.TIBCO.hawk.hma.Performance" failed because of Processore.
2014 Feb 06 09:18:40:204 GMT 1 tsm Error [] [TRA-002018] TsmMethodSubscriber (Performance:Processor) failed: Invalid method. COM.TIBCO.hawk.talon.MicroAgentException: Invalid method   at COM.TIBCO.hawk.agent.mafactories.AmiTibrvMicroAgent.startSubscription(AmiTibrvMicroAgent.java:658)   at COM.TIBCO.hawk.agent.macollection.MicroAgent.subscribe(MicroAgent.java:262)...
2014 Feb 06 09:18:40:206 GMT 1 tsm Error [] [TRA-000303] Method subscription on Agent "sasv0277" MicroAgent "sasv0277" method "COM.TIBCO.hawk.hma.Performance" failed because of Disco logico.
2014 Feb 06 09:18:40:206 GMT 1 tsm Error [] [TRA-002019] TsmMethodSubscriber (Performance:LogicalDisk) failed: Invalid method. COM.TIBCO.hawk.talon.MicroAgentException: Invalid method   at COM.TIBCO.hawk.agent.mafactories.AmiTibrvMicroAgent.startSubscription(AmiTibrvMicroAgent.java:658)   at COM.TIBCO.hawk.agent.macollection.MicroAgent.subscribe(MicroAgent.java:262) ...
----->

Cause:
This is caused by incorrect microagent method localization. 

Issue/Introduction

TsmMethodSubscriber failure caused by invalid method name.

Resolution

Add the following to $TIBCO_TRA_DOMAIN_HOME/domainname/hawkagent_domainname.tra, and restart the Hawk agent. 
   java.property.user.language=
   java.property.user.country=

On Windows platforms, the Hawk agent NT service needs to be updated with the following command if the Hawk Agent runs as a Windows NT service. Command to update Hawk Agent NT service:
   hawkagent_domainname.exe --update