aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes JMS: failed to open MQ queue (Reason 2035) when trying to receive message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS: failed to open MQ queue (Reason 2035) when trying to receive message" Watch "JMS: failed to open MQ queue (Reason 2035) when trying to receive message" New topic
Author

JMS: failed to open MQ queue (Reason 2035) when trying to receive message

Mike Sever
Ranch Hand

Joined: Jul 24, 2006
Posts: 56
I'm doing a jms testing (weblogic, mq), already done below items, sending is ok (CURDEPTH is added 1), but receiving has some problem: MQJE001: Completion Code 2, Reason 2035.
MQJMS2008: failed to open MQ queue.
It looks MQRC_NOT_AUTHORIZED, but the application id has been given pemission to put, get message from that queue. Is there anywhere else required to set/check permission? Thanks for help!

JMSAdmin:
define q(mqQ) queue(LocalQueue) qmanager(QueueManager)
define xaqcf(mqXAQCF) qmanager(QueueManager)
weblogic console:
Foreign JMS Servers (WebsphereMQServer) ->
JNDI Initial Context Factory: com.sun.jndi.fscontext.RefFSContextFactory
JNDI Connection URL: file:/path...
MyForeign JMSConnection Factory:
Local JNDI Name:test/XAQCF
Remote JNDI Name:mqXAQCF
MQ:
application id has been given permission to get/put and also the destination queue: GET(ENABLED) PUT(ENABLED).
MyForeign JMSDestination:
Local JNDI Name:test/Queue
Remote JNDI Name:mqQ


<i>Mike</i>
Mike Sever
Ranch Hand

Joined: Jul 24, 2006
Posts: 56
Any master help solve it? Thanks a lot!
Mike Sever
Ranch Hand

Joined: Jul 24, 2006
Posts: 56
The most strange thing is I can receive messages from that queue by ibm mq api, but can NOT by JMS...
Mike Sever
Ranch Hand

Joined: Jul 24, 2006
Posts: 56
My application id is not in mqm group (solaris) and privided put/get/browse/dsp permission to that local queue, is it enought? What happened when calling QueueSession's createReceiver method?
Mike Sever
Ranch Hand

Joined: Jul 24, 2006
Posts: 56
Any suggestion? Which step could have some problem? Thanks for reply!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS: failed to open MQ queue (Reason 2035) when trying to receive message
 
Similar Threads
JMS on WAS 6.0 to MQ
Weblogic - JBoss - Foreign JMS Server - Problem
Configure a Bridge between Websphere MQ 6.0(Previously MQSeries) and Weblogic 9.2
IBM MQ vs JMS - Spring Implementation
MQWebsphere(MQJE001: An MQException occurred: Completion Code 2, Reason 2059)