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

Post new topic  Reply to topic
 Trace Node « View previous topic :: View next topic » 
Author Message
fcotait
PostPosted: Wed Oct 08, 2003 10:07 am    Post subject: Trace Node Reply with quote

Acolyte

Joined: 28 Feb 2002
Posts: 63
Location: Sao Paulo - Brazil

Hi all,

I have some messages flows with node trace (to file).

When I delete this traces, the broker didn´t re-create these files, only when I do a deploy the trace files are created again.

This happend only in AIX. On Windows I can delete traces files and the broker re-create the files.

My WMQI is 2.1 CSD 04 on AIX 4.3.3

Any Idea ?

Thanks
_________________
Filipe Cotait
IBM Certified System Administrator - WebSphere MQ
IBM Certified Specialist - MQSeries, WebSphere MQ Integrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
wmqiguy
PostPosted: Wed Oct 08, 2003 11:02 am    Post subject: Reply with quote

Centurion

Joined: 09 Oct 2002
Posts: 145
Location: Florida

I don't know exactly what the broker is doing, but I can confirm that we have this behavior on a Solaris machine also. Kind of a pain, but I usually just vi the file and then dd the required number of lines, instead of deleting it. Example for a 240 line file:

<esc>240dd

If you aren't too picky about a blank line at the beginning:

echo > yourFile.txt

This will replace your file with only a HEX 0a in the file.

Good times.....good times.
Back to top
View user's profile Send private message
kolban
PostPosted: Wed Oct 08, 2003 12:41 pm    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

I can imagine what is going on here ...

When the TRACE nodes are reached, they open the file and cache/keep the file open. In Unix, if an application (like WMQI/Message Broker) has an open file handle and the file is deleted externally, the application is unaware that has happened and does not close/re-open the file. As such, you lose the data that is logged.
Back to top
View user's profile Send private message
fcotait
PostPosted: Wed Oct 08, 2003 1:05 pm    Post subject: Reply with quote

Acolyte

Joined: 28 Feb 2002
Posts: 63
Location: Sao Paulo - Brazil

wmqiguy/Kolban

Now I understood what happen when I delete Traces Files

Thanks very much
_________________
Filipe Cotait
IBM Certified System Administrator - WebSphere MQ
IBM Certified Specialist - MQSeries, WebSphere MQ Integrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
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
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.