Deployed TIBCO ActiveMatrix Adapter for Files (FA) Adapter instance status is shown as "stopped" or "starting up" though the deployed instance is working fine.

Deployed TIBCO ActiveMatrix Adapter for Files (FA) Adapter instance status is shown as "stopped" or "starting up" though the deployed instance is working fine.

book

Article ID: KB0094178

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Files for Unix and Windows -
Not Applicable -

Description

Description:
In the TIBCO Enterprise Administrator web interface, sometimes the deployed Instance shows a status as 'stopped' or 'starting up' even though the deployed file adapter instance is working fine.
Symptoms:
In TIBCO Enterprise Administrator web interface, sometimes a deployed Instance shows a status as 'stopped' or 'starting up'. However, if you check the actual process (adflesagent)  using task manager or ps-ef command, you will find the process is running fine. You can check the log for a deployed FA instance which shows the adapter is writing status every minute.

Cause:
This issue can occur if 'Hawk.Enabled' is set to False and if following parameters (See Resolution section) are not set correctly in the application tra file.

Resolution

Hawk.Enabled true resolves status of showing 'stopped' status of deployed Instance in Admin GUI.

In the application tra file, check that the following parameters have been set correctly.


- tibco.hawk.microagent.name:    This needs to be set in the following format: COM.TIBCO.ADAPTER.<adapter_name>.<domain_name>.<deployed_name>.<adapter_service_name>
- Hawk.Enabled    This needs to be set to true.
- Hawk.service    This needs to be set to the AMI service value. 
- Hawk.Network    This needs to be set to the AMI Network value.    
- Hawk.Daemon    This needs to be set to the AMI Daemon value.
    (check the domain hawkagent.cfg file to confirm what the AMI values should be).

In the adapter project, the HawkDefault Session (Advanced > Sessions) should match the above value.


- Service:    %%TIBHawkService%%

- Network:    %%TIBHawkNetwork%%
- Daemon:    %%TIBHawkDaemon%%Keywords/Tags:

Issue/Introduction

Deployed TIBCO ActiveMatrix Adapter for Files (FA) Adapter instance status is shown as "stopped" or "starting up" though the deployed instance is working fine.