|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQJE001: Completion Code 2, Reason 2037 |
« View previous topic :: View next topic » |
Author |
Message
|
vadivel |
Posted: Tue Mar 18, 2003 12:23 am Post subject: MQJE001: Completion Code 2, Reason 2037 |
|
|
 Voyager
Joined: 05 Aug 2002 Posts: 79 Location: US
|
Hi,
I'm using MQ series v5.2 in solaris. If I run a java program to get message from MQ using a non mqm group id and If there is no message in the Queue, I get a exception message as given below.
MQJE001: Completion Code 2, Reason 2037
Is there any way to supress this error message thrown by MQ!!
Thanks & Regards
Vels. |
|
Back to top |
|
 |
vadivel |
Posted: Tue Mar 18, 2003 1:16 am Post subject: |
|
|
 Voyager
Joined: 05 Aug 2002 Posts: 79 Location: US
|
Hi,
I got it, I have to add these two lines in the code to disable the trace
MQEnvironment.disableTracing ();
MQException.log = null;
Cheers,
Vels |
|
Back to top |
|
 |
gerald_gomes@yahoo.com |
Posted: Thu Feb 02, 2006 6:32 pm Post subject: Suggession by Jerry |
|
|
Newbie
Joined: 02 Feb 2006 Posts: 1
|
Turning off loggin or tracing is not the solution, if anything it will make things worse since you will never know whats actually happening underneath.
Here is a possible solution : You are getting that error (2037) means you have probably opended the queue to get message but you may have openned with OUTPUT option.
You shoud open with INPUT option.
Example:
int openOptions = MQC.MQOO_INPUT_EXCLUSIVE | MQC.MQOO_BROWSE; |
|
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
|
|
|
|