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 » Trace Node- not creating log file

Post new topic  Reply to topic
 Trace Node- not creating log file « View previous topic :: View next topic » 
Author Message
Harshalw
PostPosted: Mon Aug 04, 2008 11:23 pm    Post subject: Trace Node- not creating log file Reply with quote

Voyager

Joined: 23 Jul 2008
Posts: 77

I am using WMB 6.1
I have include the TRACE Node in my message flow after the compute node and have a set the Destination property of Trace node to 'FILE' and have given the file path on windows sysem.

If i run the project, it is not creating any trace file.
Please help in what might be the issue with the trace node.

Thanks Harshalw
Back to top
View user's profile Send private message
AkankshA
PostPosted: Tue Aug 05, 2008 12:01 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

Does it not create the file or does it not write the logs in the file at all...

any exceptions?
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
elvis_gn
PostPosted: Tue Aug 05, 2008 12:48 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi Harshalw,

Please paste the path you have specified (the path SHOULD exist) and the settings in your trace node.

Regards.
Back to top
View user's profile Send private message Send e-mail
Harshalw
PostPosted: Tue Aug 05, 2008 12:57 am    Post subject: Reply with quote

Voyager

Joined: 23 Jul 2008
Posts: 77

It creates the file, however does not write logs in the file.

1 more thing is that if i wanted to log the information from compute node, trace node should be used before compute node or after compute node.
Back to top
View user's profile Send private message
Harshalw
PostPosted: Tue Aug 05, 2008 12:59 am    Post subject: Reply with quote

Voyager

Joined: 23 Jul 2008
Posts: 77

file path is - C:\backup on Harshal's Computer (9.124.235.124)\Frp2\wmb.log . It is existting
Back to top
View user's profile Send private message
AkankshA
PostPosted: Tue Aug 05, 2008 1:22 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

what are you specifying in trace pattern..

Harshalw wrote:

1 more thing is that if i wanted to log the information from compute node, trace node should be used before compute node or after compute node.


after compute node...
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
Harshalw
PostPosted: Tue Aug 05, 2008 5:02 am    Post subject: Reply with quote

Voyager

Joined: 23 Jul 2008
Posts: 77

${ExceptionList}
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue Aug 05, 2008 5:04 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

keep the trace node after the Catch node, then only it will be get populated.
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Harshalw
PostPosted: Tue Aug 05, 2008 5:11 am    Post subject: Reply with quote

Voyager

Joined: 23 Jul 2008
Posts: 77

so Gaya3 do i have include Catch node for this?
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue Aug 05, 2008 5:15 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Harshalw wrote:
so Gaya3 do i have include Catch node for this?


i meant, Catch Terminal you can connect your trace node to this.

as you have explicitly written ${ExceptionList} thats why
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Harshalw
PostPosted: Tue Aug 05, 2008 5:23 am    Post subject: Reply with quote

Voyager

Joined: 23 Jul 2008
Posts: 77

Ok what pattern do i need to use if i wants to log everything.
my log file is still blank
Back to top
View user's profile Send private message
AkankshA
PostPosted: Tue Aug 05, 2008 8:00 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

First... Ask your designer what all things he want to be logged..

If he wants input msg then put a trace node right after your MQInput node and give a pattern of ${Body}


Also in order to get better understanding, have a look at
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac04840_.htm
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
jeeth_m
PostPosted: Wed Aug 06, 2008 12:59 am    Post subject: Reply with quote

Voyager

Joined: 21 Jan 2002
Posts: 93

Try ${Root} instead of exception list. this will log the entire message
You get exception list only if an exception is thrown.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
sandeep9678
PostPosted: Wed Aug 06, 2008 1:12 am    Post subject: Reply with quote

Apprentice

Joined: 04 Aug 2008
Posts: 41
Location: India

Are you getting Exception in your flow? Is the trace node is connected through failure terminal of Compute Node?

If these things are not there then the you wont't get any thing printed in the trace file with your setting as you mentioned --> ${ExceptionList}.
Back to top
View user's profile Send private message
Harshalw
PostPosted: Wed Aug 06, 2008 1:34 am    Post subject: Reply with quote

Voyager

Joined: 23 Jul 2008
Posts: 77

oh ok. Trace node is connected to the out terminal of the compute node.

Thanks . Will check with this
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 » Trace Node- not creating log file
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.