Integration

Get Involved. Join the Conversation.

Topic

    Uvaraja Sadhana
    Error while testing FTP Adapter in Oracle Cloud SOA
    Topic posted April 11, 2017 by Uvaraja SadhanaRed Ribbon: 250+ Points, last edited April 18, 2017 
    43 Views, 6 Comments
    Title:
    Error while testing FTP Adapter in Oracle Cloud SOA
    Summary:
    Error while testing FTP Adapter in Oracle Cloud SOA
    Content:

    Hi All,

    I am getting below error while testing the File Adapter in Oracle SOA Suite.

    <Apr 11, 2017 1:02:04 PM UTC> <Warning> <oracle.soa.adapter.ftp.inbound> <BEA-000000> <[composite_name: SOAReadWritePO] [composite_version: 1.0] [service_name: FTPReaderService] FtpAdapter has reached the nestedFolderLimit of [255], the adapter will not recurse into sub directories>

    What I am trying to achieve:

    I am trying to read a file from FTP server and writing the data in cloud database.

    So I have created,

    1) File FTP  Adapter

    2) BPEL Process

    3) Database process

    and deployed the SAR file in to Cloud SOA.

    I am not sure why I am getting this error. Any help is highly appreciated.

    Thanks.

    Uva

    Comment

     

    • John Graves

      Are you using the file adapter or ftp adapter?

      It sounds like there might be a symbolic link or something like that causing a loop in the directory scanning.

      In your configuration of the adapter, I assume you've selected "include subdirectories".

      -John

    • Uvaraja Sadhana

      Hi John,

      Sorry I wrongly mentioned it is FTP Adapter only, which i am using.

      I don't see anywhere I mentioned 'Include Sub Directories.'

      It is also not reading my file placed in the directory.

      Thanks.

      Uva

    • John Graves

      Uva,

      It is called "Recursive"

      From docs: https://docs.oracle.com/middleware/1221/adapters/develop-soa-adapters/GUID-2BB20502-6F62-462F-A490-3AF301AB6089.htm#TKAD…

      "If this property is set to true, then the adapter can process all the sub-directories under the main input directory recursively."

      It will likely recurse the directories before picking up the file you've placed.  Double check this setting and make sure the FTP site does not have a loop in their directory structure.  You might also want to try pointing to a different ftp site to test and verify if the issue is on SOA side or FTP side.

      -John

    • Uvaraja Sadhana

      Hi John,

      I removed the recursive. Still No luck. I am not able to read file from FTP.

      But, I am able to write into FTP server from DB and it is working good.

      I am not sure why i am not able to read file from FTP and write to database ?

      Thanks.

      Uva

    • John Graves

      Uva,

      Did you try a different ftp server or user/pass/directory configuration?

    • Uvaraja Sadhana

      John,

      Nope, I haven't, but with this server I am able to write a file in it.

      Anyhow, will try with different server.

      Thanks,

      Uva