TIBCO ActiveMatrix BPM (AMX BPM) does not close EMS Connections (Producers) for Event Collector (EC) Topics.

TIBCO ActiveMatrix BPM (AMX BPM) does not close EMS Connections (Producers) for Event Collector (EC) Topics.

book

Article ID: KB0085051

calendar_today

Updated On:

Products Versions
TIBCO BPM Enterprise (formerly TIBCO ActiveMatrix BPM) -
Not Applicable -

Description

Description:
TIBCO AMX BPM uses TIBCO EMS for notification and messaging. The EMS Connections (Producers) are created by AMX BPM for use in Event Collector Topics whenever a message is published. This connection does not get closed and the session remains open.

Symptoms:
The following log entries can be seen in the EMS logs when the connections are created and when the producer is destroyed.

New connections getting created:
------------------------------------------
2015-05-29 14:29:29.813 [anonymous@Thani-2K8-R2-04]: Created producer (connid=1661, sessid=873, prodid=826) into topic 'ECTopic'
2015-05-29 14:29:30.423 [anonymous@Thani-2K8-R2-04]: Created producer (connid=1661, sessid=873, prodid=827) into topic 'ECTopic'
2015-05-29 14:29:30.425 [anonymous@Thani-2K8-R2-04]: Created producer (connid=1661, sessid=873, prodid=828) into topic 'ECTopic'

Connections getting closed:
-----------------------------------
2015-05-29 14:31:00.458 [anonymous@Thani-2K8-R2-04]: Destroyed producer (connid=1661, sessid=873, prodid=826) into topic 'ECTopic'
2015-05-29 14:31:00.458 [anonymous@Thani-2K8-R2-04]: Destroyed producer (connid=1661, sessid=873, prodid=827) into topic 'ECTopic'
2015-05-29 14:31:00.458 [anonymous@Thani-2K8-R2-04]: Destroyed producer (connid=1661, sessid=873, prodid=828) into topic 'ECTopic'
Cause:
Whenever a message is published, the EMS Topic Producer client (AMX BPM) creates a producer object in EMS. This producer is not getting closed until the session is closed. This quickly adds to the number of producers created in thousands based on the EC data that is being published. The issue is identified as a product defect. JIRA WRM-8394 was created to address the issue.



Resolution

Apply ActiveMatrix BPM 3.1.0 HF 3 which has the fix for WRM-8394. Temporary workaround: Make a dummy change in ECPublicationJMS.properties that does not affect the contents so the connection is reset and destroys all of the old producers. An example of the dummy change is to change the "priority" from the default value 4 to 5 and save the changes. Revert back the changes by setting the priority value to the default value.

Issue/Introduction

TIBCO ActiveMatrix BPM (AMX BPM) does not close EMS Connections (Producers) for Event Collector (EC) Topics.

Additional Information

https://docs.tibco.com/pub/amx-bpm/3.1.0/doc/html/bpmhelp/GUID-7C5474D1-CF87-4BC4-BC96-E8E7693ACF49.html