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 » MQ Exception.

Post new topic  Reply to topic
 MQ Exception. « View previous topic :: View next topic » 
Author Message
Rohit_
PostPosted: Fri Sep 26, 2008 1:45 pm    Post subject: MQ Exception. Reply with quote

Novice

Joined: 10 Jan 2008
Posts: 24

I just don't want MQ to log exception.
How can i keep it off from doing this?

My program is polling MQ queue,and get below exception
MQJE001: Completion Code 2, Reason 2033
I just want to avoid being this logged.

many thanks.
Back to top
View user's profile Send private message
atheek
PostPosted: Fri Sep 26, 2008 3:11 pm    Post subject: Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

Why don't you want to log the exception?

If you don't want just don't log it where you catch the exception. If you are doing this already and still getting this in your server logs, check your server log settings..

But remember this is a very bad programming practise..Recently we faced an issue in production where the smart developer caught the exception and set it to null in the catch block..It took us 2 days to figure out what the exception was.,.
Back to top
View user's profile Send private message
bower5932
PostPosted: Sat Sep 27, 2008 7:39 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Take a look at:

http://www.mqseries.net/phpBB/viewtopic.php?t=216

and make sure you go all the way to the bottom of the append.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Rohit_
PostPosted: Mon Sep 29, 2008 7:31 am    Post subject: Reply with quote

Novice

Joined: 10 Jan 2008
Posts: 24

You guys rock. :thumbup:
I got the solution,I was looking for.

thanks bower5932 & atheek.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ Exception.
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.