How to shut down TIBCO ActiveMatrix Adapter for Files for Unix/Win adapter gracefully without using TIBCO Enterprise Administrator without using the TIBCO Enterprise Administrator Web Interface.

How to shut down TIBCO ActiveMatrix Adapter for Files for Unix/Win adapter gracefully without using TIBCO Enterprise Administrator without using the TIBCO Enterprise Administrator Web Interface.

book

Article ID: KB0093684

calendar_today

Updated On:

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

Description

Description:
TIBCO ActiveMatrix Adapter for Files for Unix/Win adapter(FA) can be stopped two ways without using TIBCO Enterprise Administrator web interface.

Issue/Introduction

How to shut down TIBCO ActiveMatrix Adapter for Files for Unix/Win adapter gracefully without using TIBCO Enterprise Administrator without using the TIBCO Enterprise Administrator Web Interface.

Resolution


1). Sending a message on the TIBCO ActiveMatrix Adapter for Files for Unix/Win adapter(FA) termination subject is one of the recommended ways of stopping the adapter. This will make sure that the current message is processed completely and all the existing connections are safely logged off.


When RV is used as the transport, you can send the message on an adapter terminate subject:

tibrvsend "<Adapter_Terminate_Subject>" "<Message>"

where


<Adapter_Terminate_Subject> will be the Terminate Subject configured for the adapter instance. To configure / verify / modify terminate subject, go to the General tab of the adapter instance and check the value for field Terminate Subject or Topic. The General tab will be visible upon checking 'Show All Tabs' fields under the Configuration tab).


<Message> can be any message, such as "stop".

tibrvsend "domain.deployment.instance.exit" "stop"

When EMS/JMS is used as the transport, you need to publish any message on the Adapter's Termination Topic using tools like Jmsflow or Gems. This will make the File Adapter exit successfully.

2). Here is an alternative. You can use the Appmanage commands to stop the FA.


SYNTAX:


AppManage -stop  -app MyApp -service "FileAdapterConfiguration1.
aar" -binding "FileAdapterConfiguration1" -user admin -pw admin  -domain domainName

Example: AppManage -stop  -app FA_post_Proj2 -service "FileAdapterConfiguration1.aar" -binding "FileAdapterConfiguration1" -user admin -pw admin  -domain FAdomain

Additional Information

NA