Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We encounted an error wherein the Oracle support said we need to restart the IBM Websphere MQ in SHARED mode, but I cannot find a documentation on how to do it. I consulted some MQ teams and they are also puzzled with the requested option. Can I have some link on how to do it? The Oracle KnowledgeBase article follows:

Symptoms You have successfully configured the MQ adapter, but upon use you receive an error in the logs

Cause The IBM MQ error is suggesting that the MQ has been started in exclusive mode, and that an earlier process already has a lock on the MQ

Caused by: MQJE001: An MQException occurred: Completion Code 2, Reason 2009 MQJE016: MQ queue manager closed channel immediately during connect Closure reason = 2009

This is an IBM error indicating an EXCLUSIVE mode MQ Solution Start the MQ in SHARED mode, or verify that no other process has already connected to the MQ when started in Exclusive mode.

Thank you.

share|improve this question

I think they are referring to how the adapter opens a MQ queue. A queue can be opened in a shared or exclusive mode. In shared mode more than one application can consume messages from a queue. In exclusive mode only one application can open a queue and consume messages. Check SHARE and DEFSOPT settings (via MQSC) for the queue being used by Oracle adapter.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.