on 04-14-2004 3:40 PM
I´m getting a problem with Inbound FTP/File Adapter.
We need to poll a FTP Server to get text documents and submit them to XI 2.0. When the ftp server has files which match the "file.sourceFileName" parameter, no problem. In this case, the file adapter fetch the files and process them normally.
However, if don´t exist files on the server to get then it throws an error and STOP my file inbound adapter in the adapter engine.
That´s the error in the log:
(4050) ERROR: Unexpected exception "com.sap.aii.messaging.adapter.ftp.FTPEx: *.txt: No such file or directory." occurred
It seems a known bug with java ftp implementations and linux ftp servers. The ftp return code to an empty list in a LS command is not recognized by the java class calling it and so it throws an exception.
Thanks by any help,
Fabiano.
Hi Fabiano,
I am getting the exact error too...But I am not sure if anyone fixed it..I had been running pillar to post regarding this ..Any ideas...
-Teresa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I have the same problem with SP11.
I thinks the problem is with the root "/" of the ftp server.
When I put "/dir1/dir2", XI go to the real root "/" and no to the root of the ftp server that is "/var/ftp/pub".
So I put the relative path "dir1/dir2" for the directory where XI can find file and "../../archives/dir1/dir2" for the directory where it can find the archive.
It seems to works but I always have the error :
Error connecting to ftp server 'XIServer': com.sap.aii.adapter.file.ftp.FTPEx: No files found
Sorry, I can't propose you a better way !
But I haven't complete all my test.
Regards,
Chris
Hi CHristian,
Did you try putting in a file into the FTP folder without reactivating the ftp adapter?? I mean just put in the same processed file..Is it readin the file on its own?? my ftp adapter doesn't read the file without a manual activation of the FTP adapter everytime...This defeats the purpose of XI if it can't read a file on its own in an FTP location...It still gives "Last processing started 18:56:11 2005-05-05, Error: Stopped due to error: com.sap.aii.adapter.file.ftp.FTPEx: input.txt: No such file or directory: No such file or directory.
-Teresa
Message was edited by: Teresa Smith
Message was edited by: Teresa Smith
Yes, I don't need to restart the adapter, when I put a file, XI get it.
But there is some problem with the archive mode, so I use delete mode.
My error message is different from yours :
Error: Error connecting to ftp server 'XIServer': com.sap.aii.adapter.file.ftp.FTPEx: No files found
It not say "Stopped due to error".
Do you always have XI 2.0 as you said last month ?
I work on XI 3.0 with SP11 on RHEL.
Regards,
Christophe
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.