Configuring an FA to get an immediate Error notification when the error occurs in an FA service (Publisher/subscriber).

Configuring an FA to get an immediate Error notification when the error occurs in an FA service (Publisher/subscriber).

book

Article ID: KB0086394

calendar_today

Updated On:

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

Description

Description:
If you want to monitor the FA instances for errors which may occur in an FA service (Publisher/Subscriber) and wish to get immediate notifications when the error occurrs including what appropriate actions to take, you can enable network sink logs to publish error logs to the configured destination with the help of a BW notifier process (which listens to configured destination and sends notification mail when error occurs in the FA).

Resolution

 The following steps show how to implement the logic of getting error notifications. See the attached project (Filename:NotifyOnError.zip) for more details:

Configuration Details for enabling network sink for FA instance.

1). Go to FA instance > Advance> Log Sinks.

2). Add generic log sink and select sink type as "network", then set session (JMS queue session/RV session) and subject values (Subscription.Error).

3). Add a log sink role to the newly created network sink and set the role error for this log sink.

Creating automated process to notify error detail by email.

1). Create a BW to process (Notify on error QUEUE) and add the activity JMS Queue Receiver (receiver of transport on which network sink is configured).

2). Configure the receiver activity, i.e., provide the value of a shared connection and subject (here Subscription.Error).

3). Add a send mail activity and configure all required fields (host, mail to from, and so on) in the body fetch data of receiver output and set it in the mail body.


Issue/Introduction

Configuring an FA to get an immediate Error notification when the error occurs in an FA service (Publisher/subscriber).

Additional Information

TIBCO Adapte for Files User’s Guide->Adapter Configuration Options->Logging Tab.

Attachments

Configuring an FA to get an immediate Error notification when the error occurs in an FA service (Publisher/subscriber). get_app