ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » 2042 Error on MQQueueSession.createReceiver()

Post new topic  Reply to topic
 2042 Error on MQQueueSession.createReceiver() « View previous topic :: View next topic » 
Author Message
dardanel
PostPosted: Tue Jul 02, 2002 5:27 am    Post subject: 2042 Error on MQQueueSession.createReceiver() Reply with quote

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.

Any ideas?

Thanks.

-Dogan Atay
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » 2042 Error on MQQueueSession.createReceiver()
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.