Mq Error Code 2082
RSS Feed http://www.mqseries.net/phpBB/viewtopic.php?p=181222&sid=e2d72f133074d0a9344619d7036d4d2d - WebSphere MQ Support RSS Feed - Message Broker Support
MQSeries.net Forum Index » General IBM MQ Support » Error Code 2082 when resolving queue over cluster Error Code 2082 when resolving queue over cluster « View previous http://forum.spring.io/forum/spring-projects/integration/jms/85207-issue-with-clustered-queue-connexion-invaliddestinationexception-mqjms2008 topic :: View next topic » Author Message hilltops Posted: Sat Jun 09, 2007 1:43 am Post subject: Error Code 2082 when resolving queue over cluster CenturionJoined: 01 Mar 2006Posts: 112 I am getting the error mq error code 2082 (MQRC_UNKNOWN_ALIAS_BASE_Q) when trying to resolve a queue local over a cluster. My environment is set up as follows; I have got an MQ cluster with two queue managers QM_A and QM_B. QM_B act as the gateway into the cluster and all connection must pass thru QM_B as this is where we implement our security checks. An application connection to QM_B over MQ client connection. This application is a mq error code 3rd party product over which we have no control. Messages arrive to a queue local on QM_B from QM_A. The application is design to poll this queue on QM_B and then send responses back to QM_A via a queue alias. Thus; QA(alias on QM_A for request) -----> QL(clustered queue on QM_B for request) QL(clustered queue on QM_A for Resp) <--- QA(alias on QM_B for Resp) All queue objects are defined with the attribute DEFBIND(NOTFIXED). When the application tries to open the queue on QM_B, I get the error code 2082, suggesting that MQ is trying to resolve the target on the local queue manager, QM_B. However, this should be being resolved over the cluster to the QM_A. I suspect the application is opening the queue alias using code like this; MQQueue q = qmgr.accessQueue("QA on QM_B", openOption, "QM_B", null, null); I have tested this idea on a small sample application and I also get 2082. Has anyone come across this and found a solution around this problem. I know if I omit the QM_B in the method above it works, but for this application we have not access to the code. Thankx Back to top fjb_saper Posted: Sat Jun 09, 2007 5:24 am Post subject: Grand PoobahJoined: 18 NTag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor. Announcement Announcement Module Collapse No announcement yet. Issue with clustered queue connexion (InvalidDestinationException: MQJMS2008) Page Title Module Move Remove Collapse X Conversation Detail Module Collapse Posts Latest Activity Search Forums Page of 1 Filter Time All Time Today Last Week Last Month Show All Discussions only Photos only Videos only Links only Polls only Filtered by: Clear All new posts mstouny Junior Member Join Date: Jul 2010 Posts: 1 #1 Issue with clustered queue connexion (InvalidDestinationException: MQJMS2008) Jul 27th, 2010, 04:26 AM Hi All, I'm trying to desperately to connect my client application (using JmsTemplate102) to an alias queue (clustered queuing). This piece of code is working perfectly with local queue But when i'm trying to connect to an alias queue I'm getting the below exception : 2010-07-25 22:51:38,432 INFO Thread-34 ma.hps.pcrd.mq.controller.PwcMessageSenderJob - Exception : org.springframework.jms.InvalidDestinationExceptio n: MQJMS2008: failed to open MQ queue 'EAI.FACADE.IN'.; nested exception is javax.jms.InvalidDestinationException:MQJMS2008: failed to open MQ queue 'EAI.FACADE.IN'.; nested exception is com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason '2082'. Please find below my configuration :