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 » Accessing ExceptionList in Trace Node

Post new topic  Reply to topic
 Accessing ExceptionList in Trace Node « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Sun Dec 10, 2006 8:20 pm    Post subject: Accessing ExceptionList in Trace Node Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Can we access any other child except ${ExceptionList} in Trace Node? If yes, how? I tried {ExceptionList.RecoverableException.Text} for example and it did not work.

Does it mean only the root ( ExceptionList) is accessing from within TraceNode?

Thank you for your help
Back to top
View user's profile Send private message
vk
PostPosted: Sun Dec 10, 2006 9:15 pm    Post subject: Reply with quote

Partisan

Joined: 20 Sep 2005
Posts: 302
Location: Houston

Why do you want to access this in Trace Node? When you give ${ExceptionList}, the child trees will also be shown in the trace file.

Child trees can be accessed explicitly in the compute nodes.

Regards,
VK.
Back to top
View user's profile Send private message
jbanoop
PostPosted: Sun Dec 10, 2006 10:05 pm    Post subject: Reply with quote

Chevalier

Joined: 17 Sep 2005
Posts: 401
Location: SC

u shld use compute node and set an environment variable with the error message u want to be printed ..
then in trace node you give ${variablename}.

Anoop
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Mon Dec 11, 2006 4:39 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What does it mean "did not work"?

You can do ${Root.Child.Child}, so you should be able to do ${ExceptionList.Child.Child} - but maybe you didn't get your children right.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jeevan
PostPosted: Mon Dec 11, 2006 6:54 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

This is the strcture of the exception tree structure as given in document.

Quote:

ExceptionList {
RecoverableException = { 1
File = 'f:/build/argo/src/DataFlowEngine/ImbDataFlowNode.cpp'
Line = 538
Function = 'ImbDataFlowNode::createExceptionList'
Type = 'ComIbmComputeNode'
Name = '0e416632-de00-0000-0080-bdb4d59524d5'
Label = 'mf1.Compute1'
Text = 'Node throwing exception'



If this so, why can not do the follwoing in TraceNode?

${ExceptionList.RecoverableException.Text},

However, when I gave that expression in TraceNode it was displayed as it is in the log produced by tracenode. I am aware that I can not manipulate the exceptionList tree in Tracenode but can not even we use it?

thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Dec 11, 2006 6:56 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

jeevan wrote:
However, when I gave that expression in TraceNode it was displayed as it is in the log produced by tracenode.

What does that mean?

What do you get when you put in that Expression?

What do you expect to get?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jeevan
PostPosted: Mon Dec 11, 2006 7:13 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

I mean when I gave that pattern in tracenode I got the same patter displayed in output instead of the value of that pattern.

I got ExceptionList.RecoverableException.Text in the out put. I was expecting some value like [Text = 'Node throwing exception'] as given in the document. Even, if there was not an exception and the value of that attribute wan null, it should be zero/null instead of displaying the pattern itself. Is my expectation wrong?

thanks
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Mon Dec 11, 2006 7:17 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi jeevan,

Did you give the '$' before the path and put the path inside flower brackets...you would get the text you entered when these were missing...

Regards.
Back to top
View user's profile Send private message Send e-mail
jeevan
PostPosted: Mon Dec 11, 2006 5:57 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

This is the pattern in Tracenode



${Root.MQMD.MsgId}

${ExceptionList} ${ExceptionList.RecoverableException.Text}
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 » Accessing ExceptionList in Trace Node
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.