|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Trace Node issue |
« View previous topic :: View next topic » |
Author |
Message
|
nelson |
Posted: Thu May 02, 2013 9:28 am Post subject: Trace Node issue |
|
|
 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 |
|
 |
mqjeff |
Posted: Thu May 02, 2013 9:55 am Post subject: |
|
|
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 |
|
 |
nelson |
Posted: Thu May 02, 2013 2:42 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|