The information in this article applies to:
Product: Metastorm Integration Manager
Version: 8.1.8 and higher
Platform: All UNIX and Win32
Issue
After the Directory Monitor (Dirmon) Service installed on a client node loses connection with the queue manager, subsequent restart/reconnection attempts fail with the following message:
DIRMON FSRV04201 XMDirmonException: Failed to open recovery queue 'CQ.DIRMON.SERVICE.RECOVERY.NODENAME' for input and browsing; reason: 'MQRC\_OBJECT\_IN\_USE' error code = 2042.
Resolution
This error normally occurs when more than one Dirmon instance is started on a node. This is a valid error because the CQ.DIRMON.SERVICE.RECOVERY queue is designed to be opened in exclusive mode. This is done to prevent multiple instances of Dirmon on a node, thus ensuring integrity of the transactions. Ensure that the user did not attempt to start more than one instance of Dirmon on a node.
If the error occurs repeatedly when attempting to start a single instance of Dirmon and no other instances are currently running, apply WebSphere MQ V6.0 Fix Pack 6.0.2.4 on both client and server nodes. This contains a fix for APAR IZ12208 - MQOPEN FAILS WITH 2042, IF THE MQ APPLICATION HAD PREVIOUSLY FAILED WITH UNEXPECTED ERROR, HOLDING THE OBJECT HANDLE OPEN.