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 » WebSphere Message Broker (ACE) Support » How to enable and view error logs for user defined extension

Post new topic  Reply to topic
 How to enable and view error logs for user defined extension « View previous topic :: View next topic » 
Author Message
sarvana
PostPosted: Mon Jan 31, 2005 3:45 am    Post subject: How to enable and view error logs for user defined extension Reply with quote

Apprentice

Joined: 17 Jan 2005
Posts: 29
Location: India

Hi ,

i am using an user defined message processing node.how do i know wat error occur in the node.how do i use the trace for this?the help provided is not that clear.also where do the system.out.printlns get printed in the WBIMB toolkit.pls help.
_________________
SYstems Engineer ,
TCS,
India.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jan 31, 2005 6:01 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Don't use System.out to print stuff.

You'll never see the results.

There is a section of the plug-in API that has functions for logging errors, and you can create an MBException and throw it.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
shra_k
PostPosted: Wed Feb 02, 2005 11:01 pm    Post subject: Reply with quote

Apprentice

Joined: 30 Dec 2002
Posts: 37

You can see the output of System.out.print*

If you are testing your UDN in

windows : Go to controlPanel->Service->Choose 'Properties' by right clicking the broker service -> Choose 'LogOn' tab -> check the box 'Allow services to interact with the desktop'. Click ok.
Restart your broker now. You will see 3 windows popped up ...all your System.out.print* will be seen in DataFlowEngine window.

Unix : set the environment variable "MQSI_RUN_ATTACHED" equal to 'yes' or 'y' and restart your broker. All your System.out.print* will be seen in the window where you have launched the broker i.e., mqsistart.

Hope that helps.
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 » WebSphere Message Broker (ACE) Support » How to enable and view error logs for user defined extension
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.