Mqje001 Completion Code 2 Reason 2033 Error
Contents |
'2', Reason '2033' due to connection termination 5 replies Latest Post - 2011-09-22T23:30:47Z by SystemAdmin Display:ConversationsBy Date 1-6 mq 2033 error code of 6 Previous Next RohitashPanda 270004GSXR 3 Posts Pinned 2033 mqrc_no_msg_available topic MQJE001: Completion Code '2', Reason '2033' due to connection termination 2011-09-15T07:28:06Z | mq completion code 2 reason 2035 Tags: Answered question This question has been answered. Unanswered question This question has not been answered yet. Hi, I get the below error
Mqje001 Reason 2085
while running my tests : MQJE001: Completion Code '2', Reason '2033'. Trying to debug further , I looked at the logs and found out errors logged at the time of the failure as below : From the /var/mqm/qmgrs/tkmgw6!queue!manager/errors file during the time the failure occured , mqje001 reason 2009 we see logs as below : 09/05/11 03:50:01 - Process(786614.6) User(mqm) Program(amqrmppa) Host(staxl16) AMQ9209: Connection to host 'staxl16 (xxx.xx.xxx.xxx)' closed. EXPLANATION: An error occurred receiving data from 'staxl16 (xxx.xx.xxx.xxx)' over TCP/IP. The connection to the remote host has unexpectedly terminated. ACTION: Tell the systems administrator. Then around 04:06 , we see it getting re-started : 08/29/11 04:06:56 - Process(934084.1) User(mqm) Program(amqfqpub) Host(staxl16) AMQ5806: WebSphere MQ Publish/Subscribe broker started for queue manager tkmgw6.queue.manager. EXPLANATION: WebSphere MQ Publish/Subscribe broker started for queue manager tkmgw6.queue.manager. ACTION: None. 08/29/11 04:06:57 - Process(974962.1) User(mqm) Program(amqzmgr0) Host(staxl16) AMQ5026: The Listener 'SYSTEM.LISTENER.TCP.1' has started. ProcessId(893060). EXPLANATION: The Listener process has started. ACTION: None. I'm on Websphere MQ series V7 and running on a IBM AIX 5.3/6 machine. This is while working across with an Oracle Streams AQ that we see the is
Certification Databases Caching Books Engineering Languages Frameworks Products mqje001 reason 2397 This Site Careers Other all forums Forum: WebSphere MQ:
Mqget Failed With Reason Code 2033
MQException: Completion Code 2, Reason 2033 Vadim Prudnikov Greenhorn Posts: 2 posted
Mqje001 Completion Code 2 Reason 2001
10 years ago Hi. Can you help me with the problem? I create MQQueueManager, send message and try to receive. Exception occurs https://www.ibm.com/developerworks/community/forums/thread.jspa?threadID=390480 on a message receiving (MQQueue.get). This is a code parts (i don't show exception catching): //manager creation MQEnvironment.hostname = host; MQEnvironment.port = port; MQEnvironment.channel = channel; MQEnvironment.properties.put(MQC.TRANSPORT_PROPERTY, MQC.TRANSPORT_MQSERIES); //TCP/IP or server connnection. manager = new MQQueueManager(managerName); //method for a message sending public void sendMessage(String http://coderanch.com/t/77941/Websphere/MQ-MQException-Completion-Code-Reason queueName, String msgText) throws MQException, IOException { int openOptions = MQC.MQOO_OUTPUT | MQC.MQOO_FAIL_IF_QUIESCING; MQQueue queue = manager.accessQueue(queueName, openOptions); MQMessage message = new MQMessage(); message.messageType = MQC.MQMT_DATAGRAM; message.format=MQC.MQFMT_STRING; message.persistence = MQC.MQPER_PERSISTENCE_AS_Q_DEF; message.write(msgText.getBytes()); MQPutMessageOptions pmo = new MQPutMessageOptions(); //i don't know if the following line is needed. //pmo.options = MQC.MQPMO_NEW_CORREL_ID | MQC.MQPMO_NEW_MSG_ID | MQC.MQPMO_FAIL_IF_QUIESCING; queue.put(message, pmo); queue.close(); } //method for a message receiving public String retrieveMessage(String queueName) throws Exception { int openOptions = MQC.MQOO_INPUT_SHARED | MQC.MQOO_FAIL_IF_QUIESCING | MQC.MQOO_INQUIRE; MQQueue queue = manager.accessQueue(queueName, openOptions); MQMessage message = new MQMessage(); message.messageId = MQC.MQMI_NONE; message.correlationId = MQC.MQCI_NONE; MQGetMessageOptions gmo = new MQGetMessageOptions(); //i don't know if the following 3 lines are needed. //gmo.options = MQC.MQGMO_WAIT | MQC.MQGMO_CONVERT | MQC.MQGMO_FAIL_IF_QUIESCING; //gmo.matchOptions = MQC.MQMO_MATCH_MSG_ID | MQC.MQMO_MATCH_CORREL_ID; //gmo.waitInterval = 60000; queue.get(message, gmo); String msgText = message.readString(message.getMessageLength()); queue.close(); ret
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support
MQSeries.net Forum Index » IBM MQ API Support » Reason Code 2033. Reason Code 2033. « View previous topic :: View next topic » Author Message Sonal Posted: Wed May 06, 2009 10:19 pm Post subject: Reason Code 2033. ApprenticeJoined: 20 Mar 2009Posts: 45 I sent a message from a sender code 2 Queue Manager to the receiver Queue Manager using MQ Explorer. I checked if the message has been sent to the receiver queue or not. Message has been sent. When I don't close the browse window in MQ Explorer and try to retrieve the message from receiver queue using Java code, it shows the following error message: compile: run-single: Connecting to queue manager: QM_RREC Accessing completion code 2 queue: Q1 ...and getting the message back again An IOException occured whilst writing to the message buffer: java.io.EOFException BUILD SUCCESSFUL (total time: 1 second) However, if I close the browse window and then try to run the java code to retrieve sent message in receiver queue, it shows the following error: compile: run-single: Connecting to queue manager: QM_RREC Accessing queue: Q1 ...and getting the message back again A WebSphere MQ Error occured : Completion Code 2 Reason Code 2033 MQJE001: Completion Code 2, Reason 2033 BUILD SUCCESSFUL (total time: 0 seconds) I checked if the message is present in the receiver queue or not, I couldn't see the message in receiver queue in MQ Explorer I read the reason 2033. I think its probably due to in MQGMO (the Options and MatchOptions fields). MQGMO_WAIT option was not specified, or the time interval specified by the WaitInterval field in MQGMO has expired. I tried to specify the MQGMO_WAIT options but I dunno how to speify it. Could you please help me? The java code im using is as follows: package mq; import com.ibm.mq.*; //Include the WebSphere MQ classes for Jav