Author : Jaspreet is a Senior Consultant with expertise in Service Delivery, Resource Management, Account Management, Project Delivery, Value Creation, Business Development and devising Strategic Road-Maps. Jaspreet has a range of cross industry IT experience with specialization in System Integration, SaaS, Cloud, Cyber Security, Data Science. He is seasoned in designing, developing, documenting, coding, modifying, testing and implementing business technology solutions.
Environment
SAP PO 7.4
Version
Service Pack:12
Release: NW731EXT_17_REL
SFTP Version
Adapter Type: SFTP http://sap.com/xi/XI/SFTP SFTP ADAPTER 1.0
1000.1.0.4.21.20160706043300
Problem Overview
/Demo/ does not exist
We migrated an interface from SAP PI 7.11 to SAP PO 7.4 and saw issues with the implementation of Advanced Mode Parameter (connection.mode.permanent). SAP SFTP component is not able to find Target SFTP Directory but with a “Catch”, continue to read on… The issue is with SAP support under “Very High” priority since June 2016.
Filename: %FileName%
Filepath: ~/Demo
Maximum concurrency: 30
Additional Parameters: connection.mode.permanent is set to “True”
Reason for setting the above parameter to “True” is because (SAP note 2069078) as per business process, we need to transmit 1000s of files during a set time frame. In order to do so, we enabled maximum concurrency so that file write processing can happen in parallel. Advance Mode parameter is set to “True” so that we do not overflow the maximum number of allowed active connection. If set to “False”, we will hit the SFTP server active connection threshold value and connection will be reset per below error and the most critical file transfer process will be halted.
Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException: Connection reset
However, if we chose to enable the connection.mode.permanent parameter the SFTP adapter will find the receiver end directory BUT only for the first single run of this interface. Next time, when the interface will run it will dump the error “directory does not exist”.
Analysis
After very detailed analysis and applying multiple fixes suggested by SAP support the issue still remains unaddressed.
SAP note :1737547
SAP note :1859563
'trackCacheUpdateXML'
SAP SFTP team is now working on this “very high” priority issue to isolate the problem with SFTP Adapter, Advanced Mode Parameter (connection.mode.permanenet) implementation, SAP note 2069078.
Workaround
We scheduled the effected channel to automatically stop/start once before the actual run of the scenario “interface” as we mentioned the transmission is fine in its first single run. So, every day we restart the channel as a temporary Band-Aid to work around this issue.
Conclusion
This blog will be updated with what fix we receive from SAP so that the other customers do not have to reinvent the wheel on similar issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Subject | Kudos |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
User | Count |
---|---|
13 | |
8 | |
8 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 | |
4 |