Author |
Message
|
MQWMBDeveloper |
Posted: Thu Jul 28, 2011 10:40 am Post subject: Issue with fileoutput node |
|
|
Novice
Joined: 28 Jul 2011 Posts: 16
|
I am getting an error while writing a file to a FTP server using FileOutputNode, Here is the error message i am getting. I would appreciate if someone can provide me inputs about the cause of the error and the solution. Trace is given below:
The Exception List is >>>(
(0x01000000:Name):RecoverableException = (
(0x03000000:NameValue):File = '/build/S610_P/src/DataFlowEngine/ImbDataFlowNode.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 957 (INTEGER)
(0x03000000:NameValue):Function = 'ImbDataFlowNode::createExceptionList' (CHARACTER)
(0x03000000:NameValue):Type = 'ComIbmFileOutputNode' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPv610' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 2230 (INTEGER)
(0x03000000:NameValue):Text = 'Node throwing exception' (CHARACTER)
(0x01000000:Name ):RecoverableException = (
(0x03000000:NameValue):File = 'ComIbmFileOutputNode.java' (CHARACTER)
(0x03000000:NameValue):Line = 696 (INTEGER)
(0x03000000:NameValue):Function = 'locateOutputFile' (CHARACTER)
(0x03000000:NameValue):Type = '' (CHARACTER)
(0x03000000:NameValue):Name = '' (CHARACTER)
(0x03000000:NameValue):Label = '' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPv610' (CHARACTER)
(0x03000000:NameValue):Severity = 0 (INTEGER)
(0x03000000:NameValue):Number = 3314 (INTEGER)
(0x03000000:NameValue):Text = '' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'FileOutput' (CHARACTER)
)
)
) |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jul 28, 2011 11:36 am Post subject: Re: Issue with fileoutput node |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Is this the entire list? I would have expected quite a lot more.
But
MQWMBDeveloper wrote: |
(0x03000000:NameValue):Function = 'locateOutputFile' (CHARACTER) |
sounds like a clue. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
dilse |
Posted: Thu Jul 28, 2011 12:17 pm Post subject: |
|
|
 Master
Joined: 24 Jun 2004 Posts: 270
|
Tell us how you configured the File Output node and also tell us if you are populating anything in LocalEnvironment tree for the FileOutput node. |
|
Back to top |
|
 |
MQWMBDeveloper |
Posted: Thu Jul 28, 2011 12:31 pm Post subject: Issue with FileOutput node |
|
|
Novice
Joined: 28 Jul 2011 Posts: 16
|
Local environment tree is populated. FileOutput node is configured with location of where the file should be written, FTP server alias name, security identity etc were set by
mqsisetdbparms command
mqsicreateconfigurableservice command for FTP Server. Thanks for both of ur replies.
Please let me know if you have faced this kind of issue in the past.
It just says issue with 'ComIbmFileOutputNode.java', line:696, Function:locateOutputFile..
Where can i find the code for this ComIbmFileOutputNode.Java the trace doesn't say what exactly is wrong...
I have not provided the complete trace, I have removed the project flow related details from the trace... I have just provided what is needed to find out the cause and solution of the issue.
I do see other issues with the same file, same function different line numbers.. But not this one.. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jul 28, 2011 12:33 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You won't find the source for the FileOutput node.
A user trace should show you more information about what's failing - the trace node exception list you have provided is incomplete or not being fully populated somehow.
You should also look for error messages in the broker system log.
And FDCs. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jul 28, 2011 1:11 pm Post subject: Re: Issue with FileOutput node |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
MQWMBDeveloper wrote: |
Please let me know if you have faced this kind of issue in the past.
It just says issue with 'ComIbmFileOutputNode.java', line:696, Function:locateOutputFile.. |
Yes it does say that when something's wrong. Typcially it says a lot more which is helpful. That part's rather generic to any FileOutput node issue with the file.
MQWMBDeveloper wrote: |
I have not provided the complete trace, I have removed the project flow related details from the trace... I have just provided what is needed to find out the cause and solution of the issue. |
With respect, no, that's not enough to find the cause & solution of the issue.
MQWMBDeveloper wrote: |
Where can i find the code for this ComIbmFileOutputNode.Java the trace doesn't say what exactly is wrong... |
Like the rest of WMB, that source is the IP of IBM & they don't provide it. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
rekarm01 |
Posted: Thu Jul 28, 2011 1:17 pm Post subject: Re: Issue with FileOutput node |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 1415
|
MQWMBDeveloper wrote: |
It just says issue with 'ComIbmFileOutputNode.java', line:696, Function:locateOutputFile.. |
It also says:
MQWMBDeveloper wrote: |
(0x03000000:NameValue):Catalog = 'BIPv610' (CHARACTER)
(0x03000000:NameValue):Number = 3314 (INTEGER) |
and:
MQWMBDeveloper wrote: |
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'FileOutput' (CHARACTER) |
... but the previous post stopped there, just as it was getting interesting.
MQWMBDeveloper wrote: |
the trace doesn't say what exactly is wrong... |
Either look up the BIP error code, or run a user trace. |
|
Back to top |
|
 |
MQWMBDeveloper |
Posted: Thu Jul 28, 2011 1:55 pm Post subject: Issue with FileOutput node |
|
|
Novice
Joined: 28 Jul 2011 Posts: 16
|
Here's the rest of th trace which shows the BIPerror code..
(0x01000000:Name):RecoverableException = ( (0x03000000:NameValue):File = '/build/S610_P/src/DataFlowEngine/ImbDataFlowNode.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 957 (INTEGER)
(0x03000000:NameValue):Function = 'ImbDataFlowNode::createExceptionList' (CHARACTER)
(0x03000000:NameValue):Type = 'ComIbmFileOutputNode' (CHARACTER)
(0x03000000:NameValue):Name = flowname#FCMComposite_1_5' (CHARACTER)
(0x03000000:NameValue):Label = flowname.FileOutput' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPv610' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 2230 (INTEGER)
(0x03000000:NameValue):Text = 'Node throwing exception' (CHARACTER)
(0x01000000:Name ):RecoverableException = (
(0x03000000:NameValue):File = 'ComIbmFileOutputNode.java' (CHARACTER)
(0x03000000:NameValue):Line = 696 (INTEGER)
(0x03000000:NameValue):Function = 'locateOutputFile' (CHARACTER)
(0x03000000:NameValue):Type = '' (CHARACTER)
(0x03000000:NameValue):Name = '' (CHARACTER)
(0x03000000:NameValue):Label = '' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPv610' (CHARACTER)
(0x03000000:NameValue):Severity = 0 (INTEGER)
(0x03000000:NameValue):Number = 3314 (INTEGER)
(0x03000000:NameValue):Text = '' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'FileOutput' (CHARACTER)
) |
|
Back to top |
|
 |
rekarm01 |
Posted: Thu Jul 28, 2011 2:22 pm Post subject: Re: Issue with FileOutput node |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 1415
|
MQWMBDeveloper wrote: |
Here's the rest of th trace |
That doesn't look any different from the first post. Where's the rest of it?
rekarm01 wrote: |
Either look up the BIP error code, or run a user trace. |
How did that go? |
|
Back to top |
|
 |
MQWMBDeveloper |
Posted: Fri Jul 29, 2011 10:29 am Post subject: Issue with FileOutput node |
|
|
Novice
Joined: 28 Jul 2011 Posts: 16
|
This was the complete stack trace which I got, I didn't get any other information.
This issue got resolved. It took me some time to understand How FileOutput node works.
The Directory in the basic tab should be an existing directory on the broker. The file is first written in this directory then transferred by FTP to the server directory mentioned in the FTP tab. This is the first time I am trying these nodes.
The actual issue was that "I gave the same directory names in both Directory of Basic tab and Server directory of FTP tab" The directory of the basic tab didn't exist on the broker, I was thinking that Broker directly writes to the FTP server without writing it locally. I was wrong.
Thanks everyone |
|
Back to top |
|
 |
|