|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Exception. |
« View previous topic :: View next topic » |
Author |
Message
|
Rohit_ |
Posted: Fri Sep 26, 2008 1:45 pm Post subject: MQ Exception. |
|
|
 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 |
|
 |
atheek |
Posted: Fri Sep 26, 2008 3:11 pm Post subject: |
|
|
 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 |
|
 |
bower5932 |
Posted: Sat Sep 27, 2008 7:39 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
|
Back to top |
|
 |
Rohit_ |
Posted: Mon Sep 29, 2008 7:31 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|