Author |
Message
|
whydieanut |
Posted: Mon Apr 23, 2012 4:10 am Post subject: FTP with FileInput on AIX |
|
|
 Disciple
Joined: 02 Apr 2010 Posts: 186
|
Hi all,
I am running WMB 7.0.0.3 on an AIX server (say server A) and using the FileInput Node to read files from another AIX server (say server B) using FTP.
Now, any files I place on the FTP server aren't being picked up by the flow.
I have the same flow deployed on a Windows machine, reading files from the same AIX FTP server, running successfully.
I have set the Security Identity for FTP, on both (Windows and AIX server A).
I am able to use FTP (as a client, from the command line) on AIX server A and 'get' files from AIX server B.
Any help in what could be the possible reason for this will be greatly appreciated... |
|
Back to top |
|
 |
marko.pitkanen |
Posted: Mon Apr 23, 2012 4:13 am Post subject: |
|
|
 Chevalier
Joined: 23 Jul 2008 Posts: 440 Location: Jamsa, Finland
|
Hi,
Check syslog, take user trace, check filemask and other setting from the file node.
--
Marko |
|
Back to top |
|
 |
whydieanut |
Posted: Mon Apr 23, 2012 4:34 am Post subject: |
|
|
 Disciple
Joined: 02 Apr 2010 Posts: 186
|
syslog is full of these:
Code: |
.
.
[7712]BIP4395E: Java exception: 'java.lang.NoClassDefFoundError'; thrown from class name: 'java.lang.J9VMInternals', method name: 'initialize', file: 'J9VMInternals.java', line: '140' : SANGAM_WMB.cfe78f72-3601-0000-0080-a7df09795e61: /build/S700_P/src/DataFlowEngine/PluginInterface/com_ibm_broker_plugin_CMbService.cpp: 1863: ImbJavaExceptionUtils::throwableToNativeException: :
|
Have noticed similar issue with FileOutput Node as well:
http://www.mqseries.net/phpBB2/viewtopic.php?t=60397&start=0&postdays=0&postorder=asc&highlight= |
|
Back to top |
|
 |
whydieanut |
Posted: Tue Apr 24, 2012 9:46 pm Post subject: |
|
|
 Disciple
Joined: 02 Apr 2010 Posts: 186
|
Below is the user trace:
Below leads me to believe that the Fileinput node is a java plugin node, which is throwing an exception...
Is it PMR time yet?
Code: |
2012-04-25 05:34:08.274955 7712 Error BIP2628E: Exception condition detected on input node 'MyFTPFlow.InputFile'.
The input node 'MyFTPFlow.InputFile' detected an error whilst processing a message. The message flow has been rolled-back and, if the message was being processed in a unit of work, it will remain on the input queue to be processed again. Following messages will indicate the cause of this exception.
Check the error messages which follow to determine why the exception was generated, and take action as described by those messages.
2012-04-25 05:34:08.274976 7712 RecoverableException BIP4367E: The method ''readData'' in Java node ''InputFile'' has thrown the following exception: 'java.lang.NoClassDefFoundError: com.ibm.broker.remote.RemoteFactory (initialization failure)'.
The method ''readData'' of the Java node has thrown an exception. Examine previous error messages for details of the cause of the problem.
This error is generated by the Java node API. It can occur in a Java Compute node or a Java user-defined node. If the node is a user-defined node, contact the node provider for further details.
2012-04-25 05:34:08.274983 7712 RecoverableException BIP4395E: Java exception: ''java.lang.NoClassDefFoundError''; thrown from class name: ''java.lang.J9VMInternals'', method name: ''initialize'', file: ''J9VMInternals.java'', line: '140'
The message contains that data associated with a Java exception.
No user action required.
2012-04-25 05:34:08.539859 9254 UserTrace BIP4040I: The Execution Group ''IN1'' has processed a configuration message successfully.
A configuration message has been processed successfully. Any configuration changes have been made and stored persistently.
No user action required.
2012-04-25 05:34:08.557848 9254 UserTrace BIP2638I: The MQ output node '.outputNode' attempted to write a message to queue ''SYSTEM.BROKER.EXECUTIONGROUP.REPLY'' connected to queue manager ''QMGR01''. The MQCC was '0' and the MQRC was '0'.
2012-04-25 05:34:08.557863 9254 UserTrace BIP2622I: Message successfully output by output node '.outputNode' to queue ''SYSTEM.BROKER.EXECUTIONGROUP.REPLY'' on queue manager ''QMGR01''.
2012-04-25 05:34:08.558050 9254 Information BIP2154I: Execution group finished with Configuration message.
A command response will be sent to the broker.
No user action required.
|
|
|
Back to top |
|
 |
Esa |
Posted: Tue Apr 24, 2012 11:45 pm Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
whydieanut wrote: |
Is it PMR time yet?
|
Yes. It seems other customers have had the same problem. I found traces of a V 7.0.0.3 PRM. Funnily pointing to a flow originally written by yours sincerely, but obviously changed later by somebody else. |
|
Back to top |
|
 |
whydieanut |
Posted: Wed Apr 25, 2012 12:24 am Post subject: |
|
|
 Disciple
Joined: 02 Apr 2010 Posts: 186
|
Can you provide any details of the PMR?
What did fix the issue? |
|
Back to top |
|
 |
Esa |
Posted: Wed Apr 25, 2012 2:59 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
I found only fragments of PMR 31183 from an unreliable source that I don't want to refer to. No solution that would make sense. You will have to open your own PMR. |
|
Back to top |
|
 |
Esa |
Posted: Wed Apr 25, 2012 3:05 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
I heard the problem was solved by redeploying the flow. Try to remove it and redeploy. I think restarting the eg before redeploying would not do any harm. |
|
Back to top |
|
 |
whydieanut |
Posted: Wed Apr 25, 2012 10:13 pm Post subject: |
|
|
 Disciple
Joined: 02 Apr 2010 Posts: 186
|
|
Back to top |
|
 |
Esa |
Posted: Wed Apr 25, 2012 10:32 pm Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
You can try to remove the flow, restart the broker and deploy the flow to another eg. Probably that won't work either. Classloading problems can be quite tricky. Then its PMR time. |
|
Back to top |
|
 |
whydieanut |
Posted: Wed Apr 25, 2012 10:38 pm Post subject: |
|
|
 Disciple
Joined: 02 Apr 2010 Posts: 186
|
Interesting thing is I have got a simple FTP flow working on another AIX box, but on WMB 7.0.0.1
Facing problem with 7.0.0.3 |
|
Back to top |
|
 |
Esa |
Posted: Wed Apr 25, 2012 11:37 pm Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
Yes, this problem seems to be specific to 7.0.0.3 |
|
Back to top |
|
 |
whydieanut |
Posted: Wed Apr 25, 2012 11:51 pm Post subject: |
|
|
 Disciple
Joined: 02 Apr 2010 Posts: 186
|
Another thing I left to mention is that, if I place a file in the local directory of the AIX server, it get processed just fine...
The flow just doesn't pick up files from the FTP server... |
|
Back to top |
|
 |
Esa |
Posted: Wed Apr 25, 2012 11:58 pm Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
Yes, the problem is that com.ibm.broker.remote.RemoteFactory cannot load FtpFilemanager class... |
|
Back to top |
|
 |
|