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
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