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 Nodes On Unix

Post new topic  Reply to topic
 Trace Nodes On Unix « View previous topic :: View next topic » 
Author Message
moepi
PostPosted: Tue Jun 10, 2003 5:47 am    Post subject: Trace Nodes On Unix Reply with quote

Novice

Joined: 11 Jul 2001
Posts: 21
Location: South Africa

I have added trace nodes on the message flows. The problem is that one cannot predict when the message flows will actually write into the trace files.

Environment: SunOS 5.8 Generic_108528-18 sun4u sparc SUNW,Ultra-Enterprise
WMQI 2.1 with CSD04

Please assist.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
fschofer
PostPosted: Tue Jun 10, 2003 6:19 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,
take a look at the command 'mqsichangetrace'
in the Administration Guide to configure your
trace settings.

After a deploy to your broker or a broker restart
you may have to configure the trace settings again.

Greetings
Frank
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Tue Jun 10, 2003 9:22 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I don't think mqsichangetrace necessarily helps moepi.

But I'm not clear what moepi is asking about, either?

Why did you add trace nodes to your message flow, and why do you want to know when data will be written to them? What are you trying to accomplish?
Back to top
View user's profile Send private message
moepi
PostPosted: Tue Jun 10, 2003 11:04 pm    Post subject: Reply with quote

Novice

Joined: 11 Jul 2001
Posts: 21
Location: South Africa

Hi Jeff,

I'm still in development phase. I'm using traces to keep track of the path the message took. I also want to know if the outcome from a particular node is as expected.


Thanks,
Moepi
Back to top
View user's profile Send private message Send e-mail Visit poster's website
lung
PostPosted: Wed Jun 11, 2003 1:05 am    Post subject: Reply with quote

Master

Joined: 27 Aug 2002
Posts: 291
Location: Malaysia

If your trace node is in the way of the message path, then it will write the trace.

What is your problem here, exactly? Is your broker not writing the trace files correctly? Or what?
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
moepi
PostPosted: Wed Jun 11, 2003 1:59 am    Post subject: Reply with quote

Novice

Joined: 11 Jul 2001
Posts: 21
Location: South Africa

Hi Lung,

I don't know if its the Broker not writting the traces or what. My problem is that I cannot predict when the message flow is going to write into the traces.

It will write for the first request and then write again after say ten requests. Other requests will be going thru the same path,but no traces will be updated.

Ta,
Moepi
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Wed Jun 11, 2003 5:52 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Okay, then in this case mqsichangetrace may help. It will allow you to trace your trace nodes... It's documented in the Administration Guide.

But how are your trace nodes configured? Are you writing to usertrace, or a file, or the system log? What do you have as your pattern?

Also, how are you determining that the trace isn't being updated?
Back to top
View user's profile Send private message
moepi
PostPosted: Wed Jun 11, 2003 7:04 am    Post subject: Reply with quote

Novice

Joined: 11 Jul 2001
Posts: 21
Location: South Africa

Hi,

Q: But how are your trace nodes configured?

A: I'm not sure on this one. I just drag the node and use it.


Q: Are you writing to usertrace, or a file, or the system log?

A: File


Q:Also, how are you determining that the trace isn't being updated?

A: I check the last entries in the log file.


Q:What do you have as your pattern?

A: ${Root}; ${ExceptionList} or ${Environment.Variables.Something}


Please note that the same message flows can write to trace files on Windows NT.


Below is any example of the first trace:
File Path : CallQuotes.RequestAuditlog.log
>>>>> Start
UserId : ${Root.MQMD.UserIdentifier}
Product Code : ${Environment.Variables.Product_Code}
Contract No. : ${Environment.Variables.Contract_No}
System Id. : ${Environment.Variables.System_Id}
Current Date/Time : ${CURRENT_DATE}/${CURRENT_TIME}
>>>>> End

Second trace:
File Path : /opt/mqadmin/mqsilogs/callquotes/requests/CallQuotes.DB_Store.pass.log
>>>>> Start
${Root}
>>
${ExceptionList}
>>>>> End


Note that I'm writing to different folders on the system.

Ta,
Moepi
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Wed Jun 11, 2003 10:09 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Okay. Everything you've got is reasonable, and should work as expected based on what I can see.

That said, I wonder if there is anything other than the broker that would be putting a write lock on the trace file?

Again, though, it does sound like you need to use the mqsichangetrace command to enable debug level tracing on your message flow to find out what the trace node thinks is going on. The mqsichangetrace command is documented in the Administration Guide.
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 Nodes On Unix
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.