Posted: Tue Jul 02, 2002 5:27 am Post subject: 2042 Error on MQQueueSession.createReceiver()
Newbie
Joined: 02 Jul 2002 Posts: 1
Hi,
The problem occurs on OS/390 WAS 4.0.1
There is custom monitor outside WAS 4.0.1 which has a thread to put test messages to a queue. Another thread in the same monitor keeps a queue browser open to watch if any messages are inserted. If the browser sees a message it spawns a thread which calls an EJB. For example, if the browser sees 3 messages it will spawn 3 EJB threads.
The EJB uses a completely seperate connection to read the message from this queue. When the EJB tries to create a receiver on the queue which was already open for browse and maybe open for input at the same time I receive 2042 MQRC_OBJECT_IN_USE
I do not understand why I receive this error because the explanation of the error code only talks about more than one input scenarios. In my case I only have 1 input, 1 browser and 1 or more reader.
As the error code explanation indicates I can play araound with the MQOPEN options but how can I do that using JMS. There is no interface I can find that deals with these options.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum