on 12-12-2013 3:18 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
Please issue connection refuse can occur because of many reason
regards,
Harish
Thanks for your quick response Harish, Please find below my comments
1. How can check the certificate path? It was successfully installed by BASIS team.
2. I have also tried with passive connection, still doesn't work
3. We are using port 21 and which is opened at the server.
4. Ping command is disabled due to some security issue, we are able to do telnet from our PI server.
Please give me your valuable inputs further.
Thanks
Ravi
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
Try to contact with FTPS administrators, that error could be a firewall issue. Have you tried to do a telnet to the port?. Check Michal Krawczyk's blog
Regards.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi -As you are using FTPS, Can you validate your configuration aganist the below blog?
Also check the question #19 in the SAP note # 821267 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 / PI 7.3 File Adapter
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.