on 2013 May 22 3:39 AM
Hi,
Our sender comm channels using the SAP SFTP adapter are firing in more than one node.
For example we have one adapter that is set to run every sixty minutes. In comm channel monitoring I can see that in two of the four available nodes the adapter is firing at 10 minutes past the hour on one node and 20 minutes past the hour on other.
What could be causing this and what might be the solution? We are not yet applied the service pack for the SFTP adapter.
In the default java logs I see the following error being logged every minute. Could this be related?
I am not a java administrator.
Cannot access inbound channel configuration. Received exception: null | |
2013-05-22 | |
12:33:15:951 | |
com.sap.aii.adapter.sftp.ra.rar.jca.SPIManagedConnectionFactory | |
com.sap.aii.adapter.sftp.ra.rar.jca.SPIManagedConnectionFactory.run() | |
XI AF SFTP Adapter MCF 6e932db9-7b1c-11e2-a19f-0000014b7cbf | |
j2ee\cluster\server1\log\defaultTrace_01.trc | |
5b8b9da27b1c11e281020000014b7cbf | |
0 | |
J2EE_GUEST | |
+1000 | |
BC-XI-CON-B2B | |
sap.com/com.sap.aii.adapter.sftp.app | |
21724351000000718 | |
5B8B9DA27B1C11E281020000014B7CBF | |
5b8b9da27b1c11e281020000014b7cbf | |
0 | |
xxxxxxxxx | |
FPP | |
xxxxxx | |
server1 | |
00010001156D61580002387500002AA0 |
thanks
Julian
Request clarification before answering.
Hello,
I know this is a and old post, but I got into the same problem(multiple nodes getting the same file) and found the note 2424450 which address this issue
In SFTP Adapter, the same file at the Sender channel is processed multiple times. This can be due to the following reasons.
1. The fact that the source file was not deleted after processing the first time due to some run time issues (like file locks, network faults, etc).
2. In cluster node environment where multiple server nodes try to process the same file simultaneously.
As a result, the same transaction gets executed twice, which is erroneous.
The solution involves a source code fix. At the start of processing, we validate if the file has already been processed (i.e file has been sent from the Sender Channel to the Module processor successfully). If the file has already been processed once, we skip the processing of the current file and move it to a secondary folder named "DuplicateMessageContent", which is located within the Source Directory mentioned in the Sender Channel Configuration.
To enable this new feature, the additional parameter "removeProcessedFiles" has to be set to "true".
Note: Ensure that necessary write permission is provided for the PI SFTP Adapter to create a new Directory named "DuplicateMessageContent" within the Source Directory. If sufficient permissions are not provided, it will result in a run time exception.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
11 | |
8 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.