ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » MQJE001: Completion Code 2, Reason 2037

Post new topic  Reply to topic
 MQJE001: Completion Code 2, Reason 2037 « View previous topic :: View next topic » 
Author Message
vadivel
PostPosted: Tue Mar 18, 2003 12:23 am    Post subject: MQJE001: Completion Code 2, Reason 2037 Reply with quote

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
View user's profile Send private message Yahoo Messenger
vadivel
PostPosted: Tue Mar 18, 2003 1:16 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
gerald_gomes@yahoo.com
PostPosted: Thu Feb 02, 2006 6:32 pm    Post subject: Suggession by Jerry Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQJE001: Completion Code 2, Reason 2037
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.