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 API Support » suppress native java API logging to stderr

Post new topic  Reply to topic
 suppress native java API logging to stderr « View previous topic :: View next topic » 
Author Message
j.f.sorge
PostPosted: Wed Apr 18, 2012 10:40 pm    Post subject: suppress native java API logging to stderr Reply with quote

Master

Joined: 27 Feb 2008
Posts: 218

I've implemented a programm running with java native API connected in bindings mode to the queue manager. In order to suppress the error messages sent to stderr I've added
Code:
MQException.log = null;
into my code, but there one error message
Code:
MQJE001: Beendigungscode '2', Ursache '6114'.
which is still displayed upon console. The error message appears while using MQQueue.get(MQMessage message, MQGetMessageOptions getMessageOptions, int maxMsgSize) on a queue which contains message with invalid MQMD structure.
Does anyone know how to suppress this message?
_________________
IBM Certified Solution Designer - WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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 API Support » suppress native java API logging 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.