Author |
Message
|
mq_crazy |
Posted: Wed Mar 02, 2005 8:51 am Post subject: Trace node |
|
|
 Master
Joined: 30 Jun 2004 Posts: 295
|
I am trying to setup a trace node after my compute node to see the trace in the compute node, but it won' t generate a file. I setup the option of destination to file and gave the path and left others default. There is no file generated, i thought it should create a trace file. I am first time using the node. Am i need to do anything more??? |
|
Back to top |
|
 |
Craig B |
Posted: Wed Mar 02, 2005 9:07 am Post subject: |
|
|
Partisan
Joined: 18 Jun 2003 Posts: 316 Location: UK
|
Hi,
You say that you have set the Destination to a file, entered a file path and left the other fields as default. This would mean that you have not entered a Pattern to indicate what you want to be traced. If you want to trace the message tree then you to specify a pattern such as ${Root}. Please see the Trace node description in the on-line help for more information of patterns that can be used. _________________ Regards
Craig |
|
Back to top |
|
 |
malammik |
Posted: Wed Mar 02, 2005 9:28 am Post subject: |
|
|
 Partisan
Joined: 27 Jan 2005 Posts: 397 Location: Philadelphia, PA
|
|
Back to top |
|
 |
mq_crazy |
Posted: Wed Mar 02, 2005 10:05 am Post subject: |
|
|
 Master
Joined: 30 Jun 2004 Posts: 295
|
Thanks guys for the replies. I have tried that pattern ${Root} but of no use. I don't see any file generated. |
|
Back to top |
|
 |
Craig B |
Posted: Wed Mar 02, 2005 10:15 am Post subject: |
|
|
Partisan
Joined: 18 Jun 2003 Posts: 316 Location: UK
|
Hi,
Have you checked your local error log (such as the event viewer on windows) to see if you have any BIP4064W warning messages indicating that the file you have specified could not be opened. When you specified your path, did you specify a valid path plus a filename to write to.
Also checking fundamental things, (sorry for asking this), when you added the trace node to your flow, you have deployed this new version of the flow to the broker? If you are using V5, have you updated your bar file with the new version of the flow before deploying? _________________ Regards
Craig |
|
Back to top |
|
 |
mq_crazy |
Posted: Wed Mar 02, 2005 10:23 am Post subject: |
|
|
 Master
Joined: 30 Jun 2004 Posts: 295
|
I don't see any errors in the event log. I checked that the path name is all good. Ofcourse i added the changes to the bar file and redeployed. |
|
Back to top |
|
 |
Craig B |
Posted: Wed Mar 02, 2005 10:29 am Post subject: |
|
|
Partisan
Joined: 18 Jun 2003 Posts: 316 Location: UK
|
Hi,
Then I would suggest taking a user level trace of the message flow processing a message, and see if the Trace node is being executed. This may give some clues as to what the problem is :
Code: |
mqsichangetrace <brokerName> -u -e <execGpName> -f <flowName> -l debug -r
|
Then send a message through the flow and issue the following two
Code: |
mqsireadlog <brokerName> -u -e <execGpName> -o -f myusertrace.xml
mqsiformatlog -i myusertrace.xml -o myusertrace.log
|
Then take a look at the myusertrace.log text file and see if the trace node is being executed. _________________ Regards
Craig |
|
Back to top |
|
 |
mq_crazy |
Posted: Wed Mar 02, 2005 10:56 am Post subject: |
|
|
 Master
Joined: 30 Jun 2004 Posts: 295
|
I checked the user trace and i don't see anywhere saying trace node. |
|
Back to top |
|
 |
Nizam |
Posted: Wed Mar 02, 2005 11:14 am Post subject: |
|
|
Disciple
Joined: 10 Feb 2004 Posts: 160
|
Just another Try - Try using a visual debugger to see if your message is actully passing through the trace node. _________________ Nyzam
IBM Cert. Solution Designer - WBIMB V5
IBM Cert. Administrator - WBIMB V5
IBM Cert. Administrator - WebSphere MQ V5.3 |
|
Back to top |
|
 |
mq_crazy |
Posted: Wed Mar 02, 2005 11:22 am Post subject: |
|
|
 Master
Joined: 30 Jun 2004 Posts: 295
|
Thanks for the reply. I tried the flow debugger and notice that even i have a break point, it will skip to the next one. It won't stop at trace node. What do u think might be doing this?? |
|
Back to top |
|
 |
Nizam |
Posted: Thu Mar 03, 2005 6:21 am Post subject: |
|
|
Disciple
Joined: 10 Feb 2004 Posts: 160
|
I am not very sure, but looks like the flow you have deployed does not match the flow that is in your toolkit.
Remove all the deployed children, restart the broker and redeploy your flow. _________________ Nyzam
IBM Cert. Solution Designer - WBIMB V5
IBM Cert. Administrator - WBIMB V5
IBM Cert. Administrator - WebSphere MQ V5.3 |
|
Back to top |
|
 |
mq_crazy |
Posted: Thu Mar 03, 2005 6:50 am Post subject: |
|
|
 Master
Joined: 30 Jun 2004 Posts: 295
|
Hey thanks a lot Nizam. I removed all the deployed children from the broker and restarted the broker and redeployed and its all working now. Thanks again for the help.. |
|
Back to top |
|
 |
|