Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MQJE001: Completion Code 2, Reason 2042

Status
Not open for further replies.

sudhya

Programmer
Apr 18, 2001
1
US
Hi

I am trying to access a particular QUEUE running on MQ
Series v5.1 on NT Server. I am using NT JAVA client on my
NT machine to connect to MQSeries server. The sample JAVA APPLICATION (MQSample.java) program running on client works fine and is able to access SYSTEM.DEFAULT.QUEUE.
I have made small changes in the sample program to access NEWLY created local queue on MQ Server, which also works fine.

But the problem is:

1. When I tried to access other local queues which are on the same SERVER machine which were created long back---

I get the following error when I run modified MQSample.java to access old queues.( IMP:Old Queues are functioning)

Error is:

MQJE001: Completion Code 2, Reason 2042
An MQSeries error occurred : Completion code 2 Reason code 2042

When I went to through IBM doc , it says that QUEUE is already (MQRC_OBJECT_IN_USE) in use and Enable your queue to
be handled by MORE THAN one application.

So how to resolve this problem?

Any info on this will certainly helps me.

Thanks in advance.

Sudhir


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top