Author |
Message
|
dsmq |
Posted: Tue Jul 30, 2002 7:51 am Post subject: Trace Node |
|
|
Acolyte
Joined: 20 Jun 2002 Posts: 59
|
Hi
I added trace nodes in my message flow , my deployment to the broker is successful. The problem is i am unable to see the trace files in my file. Can any body help me in this.
Thanks |
|
Back to top |
|
 |
kirani |
Posted: Tue Jul 30, 2002 8:05 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Pl. check whether you have
1. Set Destination to File
2. File Path to some path on Broker machine.
3. Entered some text in Pattern. For example, if you want to print MQMD header, you should write ${Root.MQMD} _________________ 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 |
|
 |
dsmq |
Posted: Tue Jul 30, 2002 8:48 am Post subject: Trace Node |
|
|
Acolyte
Joined: 20 Jun 2002 Posts: 59
|
Hi Kiran
Thank for your reply. my Broker is on other server machine. can i give my local path
C:\Program Files\IBM\WebSphere MQ Integrator 2.1.
Thanks |
|
Back to top |
|
 |
kirani |
Posted: Tue Jul 30, 2002 8:57 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
No. The file is created only on broker machine.
However, you could share that directory so that it can be accessed from your machine. You could also try to map a drive on server machine, which points to some directory on local machine. _________________ 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 |
|
 |
dsmq |
Posted: Tue Jul 30, 2002 9:36 am Post subject: Trace Node |
|
|
Acolyte
Joined: 20 Jun 2002 Posts: 59
|
Hi Kiran
i mapped to my server and the path is
G:\\servername\test
can i go head and create trace files here or do i need to follow any specific path structure.please help me.
Thanks |
|
Back to top |
|
 |
kirani |
Posted: Tue Jul 30, 2002 9:53 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
If the path of the directory on the server where you are writing Trace log is C:\mqsilog then you should enter complete path (For example, C:\mqsilog\trace.txt) in File Path in your trace node.
After messages are passed thru this node, a trace file by name trace.txt will be create on the Server in C:\mqsilog directory. After you share this directory on the server, you could view the trace file by mapping a drive to \\servername\mqsilog on your local workstation. _________________ 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 |
|
 |
garyweik |
Posted: Tue Jul 30, 2002 10:48 am Post subject: |
|
|
 Apprentice
Joined: 28 Jun 2002 Posts: 30 Location: Miamisburg, Ohio
|
In addition, you can try ${Root} or ${ExceptionList}. These may show you what's wrong.
Gary |
|
Back to top |
|
 |
dsmq |
Posted: Wed Jul 31, 2002 4:15 pm Post subject: Trace Node |
|
|
Acolyte
Joined: 20 Jun 2002 Posts: 59
|
Hi
if my broker in on sun server.what path should i give for my trace file.on my server the mqsi logs are on
/var/mqsi/log directory. please help me.
Thanks[/b] |
|
Back to top |
|
 |
kirani |
Posted: Wed Jul 31, 2002 4:53 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
You could write your logs anywhere on the server as long as the service user-id has permissions to create file in that directory.
The File Path in trace node should look like: /home/user/mqsiuid/trace/mytrace.txt _________________ 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 |
|
 |
dsmq |
Posted: Thu Aug 01, 2002 5:42 am Post subject: Trace Node |
|
|
Acolyte
Joined: 20 Jun 2002 Posts: 59
|
Hi kiran
I created the trace directory under the mqsiuid . It din't create the trace file in this directory.The path i gave
/export/home/mqsiuid/trace/trace.txt
Thanks.please help me. |
|
Back to top |
|
 |
kirani |
Posted: Thu Aug 01, 2002 7:45 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
This could be because of ..
1. Your service user-id does not have permission to create files in /export/home/mqsiuid/trace/ directory. Try logging in as service user-id on Unix box and try to create a dummy file in this directory.
2. Your message is not flowing thru the trace node at all.
If you don't specify path before the file name in a Trace node, your file will be created in the directory from where you gave command mqsistart brokername. Try doing this and see if it works. _________________ 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 |
|
 |
sgopal |
Posted: Thu Aug 01, 2002 10:29 am Post subject: |
|
|
Acolyte
Joined: 30 Jul 2002 Posts: 63
|
If there are file write errors, the messages may be written in
Syslog (or in EventLog in case of NT) |
|
Back to top |
|
 |
|