Author |
Message
|
mqxplorer |
Posted: Fri May 06, 2011 1:52 pm Post subject: FileInput Node Issue |
|
|
 Master
Joined: 22 Jun 2009 Posts: 206
|
Hi,
I have a problem with the FileInput node.
I have created the configurable service for the FtpServer and when I run the mqsireportproperties command, I have the below output:
Quote: |
C:\Program Files\IBM\MQSI\7.0>mqsireportproperties MB7BROKER -c FtpServer -o TES
TATS -r
FtpServer
TESTATS
accountInfo=''
cipher=''
compression=''
connectionType=''
knownHostsFile=''
mac=''
protocol='SFTP'
remoteDirectory=''
scanDelay=''
securityIdentity='ABCDEFGH'
serverName='1.2.3.4:2121'
strictHostKeyChecking=''
transferMode='' |
However, when I deploy the flow on my local broker, the event viewer shows the follwing waring and the flow is not picking up the message from the FTP Location.
The warining from the event viewer is:
Quote: |
( MB7BROKER.default ) File node ''File Input'' in message flow ''MsgFlow''. The remote user identifier supplied as ''ABCDEFGH'' is invalid.
The user identifier supplied by a securityIdentity is not valid. Either the user identifier is missing, or no securityIdentity definition exists, or the securityIdentity registry information could not be read due to a permissions problem. FTP processing for this node has been disabled.
Ensure that the securityIdentity is correctly defined using the mqsisetdbparms command. If your broker is running on z/OS, ensure that the BIPSDBP job is run with a userid that is in the same group as the broker userid. If you modify this definition, restart the message flow to pick up the new values. The message flow FTP processing will be re-enabled automatically. For more information, see the "FtpServer configurable service properties" topic in the WebSphere Message Broker information center. |
I am not able to understand where I am doing wrong. I have done the configurations on my local broker running on windows.
Please advise me in solving this issue.
Thanks
mqxplorer |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri May 06, 2011 10:46 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Where are you specifying the remote username & password? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
mqjeff |
Posted: Sat May 07, 2011 3:58 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You have not issued the mqsisetdbparms for ABCDEFGH to associate a userid and password. |
|
Back to top |
|
 |
mqxplorer |
Posted: Mon May 09, 2011 8:21 am Post subject: |
|
|
 Master
Joined: 22 Jun 2009 Posts: 206
|
smdavies99 and mqjeff,
I have run the command mqsisetdbparms to associate the user ID and password.
Is running mqsisetdbparms command alone enough or do I have to run the command mqsicreateconfigurableservice also? Initially, I ran only mqsisetdbparms, however, I was getting the mentioned warning message, I ran the command mqsicreateconfigurableservice and set up the configurable service and mqsireportproperties command returned the result I pasted here... In any case, I am getting same warning message.... I am not able to understand where I am going wrong..
Thanks
mqxplorer |
|
Back to top |
|
 |
harish_td |
Posted: Mon May 09, 2011 6:40 pm Post subject: |
|
|
Master
Joined: 13 Feb 2006 Posts: 236
|
1. Create the configurable service
2. Set User Name and Password using mqsisetdbparms for this configurable service
3. Use mqsireload BROKER -e EG-NAME |
|
Back to top |
|
 |
mqxplorer |
Posted: Wed May 11, 2011 4:40 am Post subject: |
|
|
 Master
Joined: 22 Jun 2009 Posts: 206
|
I could resolve the issue with thes security identity, however, I am facing a new problem... The error says:
Quote: |
File node ''File Input'' in message flow ''TestFlow'' could not connect to remote ''SFTP'' server '1.2.3.4:2121'
. Reason: ''timeout(20000): Session.connect: java.net.SocketTimeoutException: Read timed out'.'
The FileInput or FileOutput node failed to open a connection to a remote server. Possible reasons for this failure are that the server could not be contacted, the initial FTP protocol was not observed, or an error situation exists at the server. The reason text is from the detected connection failure.
Ensure that:
- The server address is correct and is locally resolved to a valid IP address.
- The server port is correctly specified (the default port for FTP is 21, and for SFTP it is port 22).
- A firewall does not block access to the remote server.
If you adjust an FtpServer configurable service definition, restart the broker to pick up the new settings. For more information, see the "FtpServer configurable service properties" topic in the WebSphere Message Broker information center. |
Could someone suggest me where I am going wrong...
Thanks
mqxplorer |
|
Back to top |
|
 |
mqjeff |
Posted: Wed May 11, 2011 4:44 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Can you run ftp from the command line on the broker machine, and connect to the same address and port? |
|
Back to top |
|
 |
mqxplorer |
Posted: Wed May 11, 2011 5:49 am Post subject: |
|
|
 Master
Joined: 22 Jun 2009 Posts: 206
|
Hi mqjeff,
Thanks for your reply.
Below is the result from the command line ftp from the broker machine
Quote: |
ftp 1.2.3.7 2121
Connected to 1.2.3.7 2121.
220-FTPSECR1 IBM FTP CS V1R11 at edup, 08:55:59 on 2011-05-11.
220 Connection will close if idle for more than 5 minutes.
534 Server is not willing to accept security mechanism
504 Server does not understand the specified mechanism
KERBEROS_V4 rejected as an authentication type
Name (1.2.3.7:wbrkadm): abcdef
534 Server requires authentication before USER command
Login failed. |
This FTP server is on Mainframe System. I am not that familiar with Mainframe. I sent ane mail to the MF admin. Could you help me based on the above message I apsted..?
Thanks
mqxplorer |
|
Back to top |
|
 |
mqjeff |
Posted: Wed May 11, 2011 6:01 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Nothing I can do from here. You need to talk to your mainframe admin about this. |
|
Back to top |
|
 |
mqxplorer |
Posted: Thu May 12, 2011 9:10 am Post subject: |
|
|
 Master
Joined: 22 Jun 2009 Posts: 206
|
Finally, the issue with the connection to FTP Server on mainframe is resolved. Now I am getting the following exception.
Quote: |
May 12 10:58:40 XYZABC WebSphere Broker v7001[12108]:
(ABCD.EG1)[65]BIP2115E: Message broker internal error: diagnostic
information 'File Input', 'TestFlow', '1.2.3.7:2121', 'Unknown SFTP
Exception: java.lang.ArrayIndexOutOfBoundsException: Array index out of
range: 137', '{4}'. : ABCD.d579044e-2701-0000-0080-852d7d89b56e:
/build/S700_P/src/DataFlowEngine/NativeTrace/ImbNativeTrace.cpp: 717:
com.ibm.broker.nodes.filenodes.ComIbmFileInputNode.getRemoteFileManager: : |
When I searched for the error code BIP2115E.. I found the below link...
https://www-304.ibm.com/support/docview.wss?uid=swg1IC73732
We opened a PMR...
I am not sure, if my problem is exactly related to what is stated in the description in the link...
I am trying to pickup a fixed lenth pattern text file and parse it from the FTP server on mainframe system...
Are there any properties on the Fileinput Node which I am missing because of which, this error is generated? |
|
Back to top |
|
 |
davecrighton |
Posted: Sun May 22, 2011 6:25 am Post subject: |
|
|
Novice
Joined: 13 Jun 2007 Posts: 12
|
It looks like you are attempting to use SFTP to connect to an FTP (or possibly an FTP(S) server). Note that SFTP (an ssh based transfer protocol) is not the same as FTP(S) (ftp over ssl). |
|
Back to top |
|
 |
|