Author |
Message
|
karthik |
Posted: Tue Nov 18, 2003 6:50 am Post subject: trace |
|
|
 Centurion
Joined: 17 Oct 2003 Posts: 114
|
Hi
I have the broker on an AIX box.And this is far from me.
I have a message flow with a trace node.In the trace node properties i put in trace as file and gave the path as /abc/def/error.txt , relative to the root(of the broker).
But i am not able to find the file over there. Is this the correct way of doing.
Please give me suggestions as to how i can specify a trace so that i can easily find and read the trace file.
Thanks
Karthik |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Nov 18, 2003 7:35 am Post subject: Re: trace |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
karthik wrote: |
Hi
I have the broker on an AIX box.And this is far from me.
I have a message flow with a trace node.In the trace node properties i put in trace as file and gave the path as /abc/def/error.txt , relative to the root(of the broker).
But i am not able to find the file over there. Is this the correct way of doing.
Please give me suggestions as to how i can specify a trace so that i can easily find and read the trace file. |
I don't know for sure how it works on AIX, but you probably have to specify a fully qualified path. That is, if you are putting in "/abc/def/error.txt", then it will try to create that file in the def subdirectory of the abc directory that is found at the root level (/). It won't be relative to the installation directory of the broker.
If you aren't seeing that file, there could be a few reasons. One of which is that the broker doesn't have sufficient access to the directory and file in question, so it can't write to it.
I seem to recall some stuff here about trace files and AIX too, where you had to create the file first before the broker could/would write to it. But that may not be true
Can you see any errors in the system logs on the AIX box? Are you sure your message flow executed the trace node? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Missam |
Posted: Tue Nov 18, 2003 10:36 am Post subject: |
|
|
Chevalier
Joined: 16 Oct 2003 Posts: 424
|
Hi
I Think Creating the File(where the broker resides) and giving Read and write permissions to every one and Then giving the full path in the File Path of trace node will clear the problem.
Thanx
Sam |
|
Back to top |
|
 |
karthik |
Posted: Tue Nov 18, 2003 11:46 am Post subject: |
|
|
 Centurion
Joined: 17 Oct 2003 Posts: 114
|
Sorry for the late reply
I tried the option of giving full path, creating the file before hand and giving the required permissions, etc;
Nothing worked..
One more thing , Where can i find the system logs (path) for WMQI on AIX.
Are there any other things i need to make sure this trace file works.
I also checked that the message is coming to the queue that is input queue for the message flow.
Any kind of help is highly appreciated.
Thanks in advance
Sridhar |
|
Back to top |
|
 |
EddieA |
Posted: Tue Nov 18, 2003 11:57 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
The location of the system logs is configured in /etc/syslog.conf.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
Missam |
Posted: Wed Nov 19, 2003 8:22 am Post subject: |
|
|
Chevalier
Joined: 16 Oct 2003 Posts: 424
|
Hi,
Usually the system logs will be at /var/log/syslog.user .this will be configured in /etc/syslog.conf under user.debug on AIX.
When you put the message,make sure whether it is coming to the output queue.i suggest you to connect trace node to the out terminal of input queue,give destination as file,give filepath and pattern ${Root} to check whether the broker is picking up the message from the input queue.
Thanx
Sam. |
|
Back to top |
|
 |
kirani |
Posted: Sat Nov 22, 2003 11:26 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Sridhar,
I saw Broker logging Warning messages on Windows platform if the directory in which you are creating the file doesn't exist. As Jeff said, are you sure the Trace node is coming in your execution path?
Also, please make sure you have selected File in Destination property of your trace node. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
|