MQ plug-in Error "Could not find process definition:" in stand by application

MQ plug-in Error "Could not find process definition:" in stand by application

book

Article ID: KB0081844

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for IBM MQ 7.6.0

Description

In a scenario where BW applications have processes started with an MQ plug-in listener are configured in fault tolerance mode, that is, one is active the other is standby. After an active application goes to standby, it could generate the following error when there is a new message coming on the queue it listens to. The standby application tries to pick up the first message and runs into the error.

Could not find process definition: Processes/CERNConnector/V2/Starters/Listen For PlanningAvailabilityEvents.process
    at com.tibco.pe.core.ProcessStarter$EventSourceContextImpl.newEvent(Unknown Source)
    at com.tibco.plugin.bwmq.SubscriberActivityBase$Poller.createEventContext(SubscriberActivityBase.java:862)
    at com.tibco.plugin.bwmq.SubscriberActivityBase$Poller.itsTime(SubscriberActivityBase.java:778)

Resolution

The resolution is to use the Enable Polling option under the "Advanced" tab of "WMQ Listener" activity. The timeout can be as long as the standby BW instance keeps a connection open. If a typical switch (primary to alternate BW instance) takes 30 seconds, then a 30 second timeout is appropriate. Note that the polling only involves a new "get" API call which is not much overhead. No new connection is acquired.

Issue/Introduction

How to resolve MQ plug-in Error "Could not find process definition:" in stand by application in MQ plug-in