Skip to Content

Receiver File (FTP) Channel error

Hello Experts,

      We have a IDOC- FILE scenario in using PI 7.1. Configured receiver File Adapter with Transport Protocol : FTP and used Connection Security too.

      But whenever I am triggering and IDoc, getting the channel error:

     "File processing failed with Error when getting an FTP connection from connection pool:                     com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: FTPEx: Control               connection prematurely closed by server"


      I have also tried using data connection both Active and Passive.


      Please give your valuable feedback to solve this issue, bit urgent.


      Many thanks in advance Gurus...


Thanks

Ravi.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Dec 12, 2013 at 03:27 PM

    Hi Ravi,

    What is the port that you are using? is the firewall port open on the PI server?

    Can you try connecting through file zilla with configured details?

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 12, 2013 at 03:23 PM

    Hi Ravi,

    Please check the below discussions

    Unable to create new pooled resource error for ... | SCN

    FTP error-Unable to create new pooled resource:... | SCNhttps://scn.sap.com/thread/1143071

    Please check the comment in first discussion

    Please do following settings.

    1. Increase the consumer threads for file adapter.

    2. Increase the concurrency in receiver communication channel.

    3. Set poolWaitingTime in receiver communication channel.

    Refer SAP Note: 821267

    Regards,

    Harish

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 10, 2014 at 12:29 PM

    Hello Gurus,

        Earlier the issue was due to mismatch of ip name in the CN of certificate and ip used in the channel. I requested client to provide new certificate.

        After providing new certificate, we imported in PI Keystore but now I am getting the error "unknownhostexception".

       telnet is working fine from PI System to that IP. But whenever I am trying to testing through filezilla by connecting clients network via vpn. I am getting this unknown host error.

       The issue I am facing from more than a month. Gurus could you please provide your valuable inputs to check from basis or network team so that I can reach for the same.

       Many thanks in advance.

    Thanks

    Prashanth

    Add comment
    10|10000 characters needed characters exceeded

    • Hello,

      I can't able to recall exact path becoz it's at the server level, but u can ask ur BASIS folks to check the same.

      Edited - At OS level, host file is present under "/etc" path.

      Thanks

      Amit Srivastava

  • Jan 17, 2014 at 09:38 AM

    Hello Gurus,

          Now we have new certificates provided by client and successfully deployed into our PI system. But whenever I am sending the file to that FTP Server getting the error : Connection refused. Please find the logs below:

    Connecting to FTP Server "ftp.demo.XXXX.com"

    Write to FTP Server "ftp.demo.XXXX.com" , directory "/", file "pocreateXXXXx.xml"

    Transfer: "BIN" mode, size 5080 bytes, encoding.

    File processing failed with java.net.ConnectException: Connection refused

    Adapter Framework caught exception: Connection refused

    Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error occurred while connecting to the FTP server "ftp.demo.XXXX.com": java.net.ConnectException: Connection refused.

    The message status was set to NDLV.

    Experts, please help me on this. Its an emergency issue which I need to resolve.

    Thanks

    Ravi

    Add comment
    10|10000 characters needed characters exceeded