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 issue

Post new topic  Reply to topic
 Trace Node issue « View previous topic :: View next topic » 
Author Message
nelson
PostPosted: Thu May 02, 2013 9:28 am    Post subject: Trace Node issue Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

Hi,

WMB 6.1 (:S)

I have many trace nodes in my flows that write some information to a file. I'm constantly deleting these files, but sometimes I'm facing this problem, when I delete the file and re run the flow it does not create the file, or sometimes even if the file exists the flow does not write the information I want it to write. I don't know why this is happening. It's a strange behavior... Sometimes it works and sometimes it does not.

Any of you have an idea of what could be the reason of this behavior?

Thanks in advance.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu May 02, 2013 9:55 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The trace node keeps an open file handle to the file after it writes for the first time.

So if you delete the file while the flow is still deployed and running, on unix at least, the node will keep writing to the now null file handle.

If you undeploy and redeploy the flow, it will release the file handle and create a new one the next time.

Best bet is to remove or disable trace nodes (can you do that in 6.1... or was that new in 7.0?) for production deploys.
Back to top
View user's profile Send private message
nelson
PostPosted: Thu May 02, 2013 2:42 pm    Post subject: Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

mqjeff wrote:
The trace node keeps an open file handle to the file after it writes for the first time.

So if you delete the file while the flow is still deployed and running, on unix at least, the node will keep writing to the now null file handle.

If you undeploy and redeploy the flow, it will release the file handle and create a new one the next time.

Best bet is to remove or disable trace nodes (can you do that in 6.1... or was that new in 7.0?) for production deploys.


Thanks a lot mqjeff, I'll keep that in mind. Yes, you can disable trace nodes in WMB 6.1.
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 issue
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.