In TIBCO ActiveMatrix (R) Adapter for SAP, the TIBCO Hawk method getConnectionStatistics always returns UNKNOWN state.
book
Article ID: KB0086125
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for SAP Solutions
-
Not Applicable
-
Description
Resolution: [SME-Comments. scope=customer] Description: ============ When using the TIBCO Hawk method getConnectionStatistics to get connection status for the SAP Adapter, the connection state is always reported as UNKNOWN .
Environment: =========== SAP Adapter 5.x and 6.x
Symptoms: ======== In TIBCO Administrator, when using the TIBCO Hawk method getConnectionStatistics to get the connection status for the SAP Adapter, the connection state is always reported as UNKNOWN.
Cause: ===== This is caused by the adapter property adr3.perfMon not being turned on. This property controls the performance statistics microagent. The default is OFF. If this property is set to ON the adapter does all the performance related calculations. When you invoke the TIBCO Hawk methods, if this property is set to OFF, the default values are displayed and not the valid values.
Resolution: ========== There are 2 resolutions: one is to redeploy the adapter and turn on the adr3.perfMon property during deployment. The other is to modify the deployed adapter TRA directly to turn on the adr3.perfMon property
1). Redeploy the adapter and turn on the adr3.perfMon during deployment: a. Select the application (ear file) to be deployed in the administrator. b. Go to the <<Adapter_Configuration>>.aar . c. Go to Advanced Tab. d. Set adr3.Perfmon as ON and save. e. Deploy the configuration and Start the adapter service.
2). modify the deployed adapter TRA directly to turn on the adr3.perfMon property: a. Stop the adapter if running. b. Go to $TIBCO_DOMAIN/application/<app_name>/ folder where the deployed adapter exists. c. Modify the adapter TRA file to set the adr3.Perfmon as ON. d. Start the adapter.
Issue/Introduction
In TIBCO ActiveMatrix (R) Adapter for SAP, the TIBCO Hawk method getConnectionStatistics always returns UNKNOWN state.