|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
To avoid logging "MQJE001: Completion Code 2, Reason 20 |
« View previous topic :: View next topic » |
Author |
Message
|
raghav |
Posted: Fri Jul 22, 2005 4:49 am Post subject: To avoid logging "MQJE001: Completion Code 2, Reason 20 |
|
|
Novice
Joined: 15 Apr 2005 Posts: 24
|
Hi,
When Iam trying to get message from a queue (which is empty / no messages),using
Code: |
MQQueue mqQueue = null;
mqQueue =
mqQueueMngr.accessQueue(
strQueueName,
MQC.MQOO_INPUT_AS_Q_DEF + MQC.MQOO_FAIL_IF_QUIESCING,
null,
null,
null);
[b]mqQueue.get(mqMessage, getMesgOptions);[/b]
|
Now, as there is no message in the queue, it is logging
"MQJE001: Completion Code 2, Reason 2033" in the err file (in AIX) / WSAD console (in Windows). Please let me know is there any way to avoid logging the statement.
Thanks & Regards,
Raghav[/code] |
|
Back to top |
|
 |
malammik |
Posted: Fri Jul 22, 2005 6:13 am Post subject: |
|
|
 Partisan
Joined: 27 Jan 2005 Posts: 397 Location: Philadelphia, PA
|
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jul 22, 2005 6:21 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
raghav |
Posted: Fri Jul 22, 2005 6:30 am Post subject: |
|
|
Novice
Joined: 15 Apr 2005 Posts: 24
|
We went through the MQException class inside com.ibm.mq.jar
There are log statements within this class itself...
We will go through the documents and reply back. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jul 22, 2005 6:41 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
raghav wrote: |
We went through the MQException class inside com.ibm.mq.jar |
That is not the manual...
Any time you are looking, or trying to look, at the MQ Source Code, you are looking too hard and in the wrong place. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bower5932 |
Posted: Fri Jul 22, 2005 8:13 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
You should also go look at the link that Jeff gave above. It discusses your problem and want to do to turn the logging off. |
|
Back to top |
|
 |
raghav |
Posted: Tue Jul 26, 2005 5:45 am Post subject: [SOLVED] MQException 2033 getting logged |
|
|
Novice
Joined: 15 Apr 2005 Posts: 24
|
Setting MQException.log=null solved the issue  |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|