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 » MQException writes to STDERR?!

Post new topic  Reply to topic
 MQException writes to STDERR?! « View previous topic :: View next topic » 
Author Message
snowghost
PostPosted: Thu Apr 04, 2002 7:45 am    Post subject: Reply with quote

Newbie

Joined: 03 Apr 2002
Posts: 2


Why does MQ write to STDERR when there's an exception???
How can you turn this off?

Am calling 'get' with a MQGetMessageOptions.waitInterval
of a few seconds. This terminates by throwing an MQException
with the reason code MQRC_NO_MSG_AVAILABLE (2033), and is
filling up my error log with messages...

No comment on the decision to terminate a valid get by throwing
an exception, you can at least just catch-and-ignore, but writing
to STDERR when no ERR has occured is a real problem!

Any ideas how to turn this off?

Thanks.
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu Apr 04, 2002 9:20 am    Post subject: Reply with quote

Jedi Knight

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

I thought that you had to set the "MQException.log = null" to remove the messages from stderr. There is a comment in the Using Java manual.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
snowghost
PostPosted: Thu Apr 04, 2002 11:54 pm    Post subject: Reply with quote

Newbie

Joined: 03 Apr 2002
Posts: 2


That was it! - I must be going blind to have missed that...

Thanks.
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 » MQException writes to STDERR?!
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.