Error in Seeburger SFTP receiver in append mode.
Hi,
I am trying to do content conversion in Seeburger SFTP adapter at the receiver side and was successfully able to create the first CSV record.
I am using append mode in receiver adapter.
But when sent another record from sender; I got below error.
Always, first record gets processed successfully then second and subsequent records always fails.
Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: >> Description: putFile: Target filename <out.txt>; Flags set: appending=<true>; ; Reason: Failed to convert Ace to the native form.>> Details: putFile: Target filename <out.txt>; Flags set: appending=<true>; ; Reason: Failed to convert Ace to the native form.>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: COMPONENT_ERROR>>Retryable: true>>Fatal: true, >> Description: putFile: Target filename <out.txt>; Flags set: appending=<true>; ; Reason: Failed to convert Ace to the native form.>> Details: putFile: Target filename <out.txt>; Flags set: appending=<true>; ; Reason: Failed to convert Ace to the native form.>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: COMPONENT_ERROR>>Retryable: true>>Fatal: true
Regards,
Anirudh.
An update.
Error message "Unable to convert ACE to native format" means it is not able to convert A SCII C ompatible E ncoding to the native encoding which is used in file system.
I am unable to make head or tail of it... I am doing content conversion in adapter module tab and have specified Transform.ContentType = text/plain;charset=utf-8
The file which gets generated is of ANSI encoding and doesn't appear to be a problem as it works when the file gets generated for the first time.
Also, it works OK when I use unique file name in receiver adatper where 1 file for each record is generated.
The problem is only in append mode.
When checked in Seeburger RWB, there was inconsistency in file details for messages.
For the successful message, file details were:
File details
Host LTFBG-ANIRUD-PI.com
Path /out
File name OUT.CSV
Remote file name OUT.CSV
Detailed status description PUT command for file <OUT.CSV> has been performed successfully.
whereas, for failed messages it was:
File details
Host LTFBG-ANIRUD-PI.com
Path /out
File name null
Remote file name null
Detailed status description Error on send, will be retried
Could that be product error?
Has anyone faced this problem before?
regards,
Anirudh.
Edited by: Anirudh Vyas on Apr 10, 2009 8:31 PM
Edited by: Anirudh Vyas on Apr 10, 2009 8:45 PM
Similar Messages
-
Seeburger sFTP receiver adapter error: Socket Write Error, EOF Received
Hello experts,
We have a sFTP to sFTP scenario for which we are getting below error every time the scenario is executed.
Error Messages are as follows:
Put File: Could not connect to remote host, Reason: Unexpected termination; software caused connection abort; socket write error[unknown cause].
Sometimes below error occurs :
Put File: Could not connect to remote host, Reason: EOF received from remote side [unknown cause].
Every time after restart of sFTP adapter on XI box, failed messages are sent successfully to receiver sFTP server.
There is no error for sender sFTP channel. This error occurs only for the receiver sFTP channel.
On receiver sFTP side, we are using Public key-private key authentication.
Can anyone please let me know what could be the cause of connection failure. ?
Thanks a lot in advance!
(I searched many threads on SDN but could not find anything relevant to this particular situation, so posting a separate question.)
MinalThanks Naveen for the reply..
I missed to mention that we are working on XI3.0 with SP19 and seeburger sFTP is 1.7.4
Looks like key exchange is working properly as after every restart of adapter all failed messages are processed successfully..
It is observed that if there is an idle time of 8-10 hours between last data transfer and current data transfer then this error occurs.
We have increased connection timeout and transmission timeout parameters also for sFTP properties in visual admin.
Thanks,
Minal
Edited by: Minal Vaidya on Oct 5, 2011 8:46 AM -
Error in Seeburger SFTP : Cannot create pending keystore PENDING/SSH_hosts
Hi All,
I am developing a scenario where my sender is file and receiver is SFTP. It is pass through interface and to achive SFTP i used seeburger SFTP adapter. I generated the public from the certificate and shared the key with SFTP admin.
Now whe i test the scenario i facing the following error in the SFTP channel @ RWB. The error is
Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: >> Description: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.HostVerificationException: Cannot create pending keystore PENDING/SSH_hosts/>> Details: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.HostVerificationException: Cannot create pending keystore PENDING/SSH_hosts/>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: COMMUNICATION_ERROR>>Retryable: false>>Fatal: false, >> Description: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.HostVerificationException: Cannot create pending keystore PENDING/SSH_hosts/>> Details: putFile: Could not connect to remote host; Reason: SFTP client was not able to connect: com.seeburger.sftp.exception.HostVerificationException: Cannot create pending keystore PENDING/SSH_hosts/>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: COMMUNICATION_ERROR>>Retryable: false>>Fatal: false
Has anyone faced the similar problem and resolved it , please help me on the same.
Thanks,
Siva.Hi Srikanth,
I resolved the above error by creating aview in my keystore(nwa) . Now i am facing a new error.
The error looks something like this:
Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: >> Description: putFile: Could not connect to remote host; Reason: Unable to establish a connection to SSH server, the authentication has failed. Details: Server returned AUTHENTICATION_FAILED. Check user and key/password-settings.>> Details: putFile: Could not connect to remote host; Reason: Unable to establish a connection to SSH server, the authentication has failed. Details: Server returned AUTHENTICATION_FAILED. Check user and key/password-settings.>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: COMMUNICATION_ERROR>>Retryable: false>>Fatal: false, >> Description: putFile: Could not connect to remote host; Reason: Unable to establish a connection to SSH server, the authentication has failed. Details: Server returned AUTHENTICATION_FAILED. Check user and key/password-settings.>> Details: putFile: Could not connect to remote host; Reason: Unable to establish a connection to SSH server, the authentication has failed. Details: Server returned AUTHENTICATION_FAILED. Check user and key/password-settings.>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: COMMUNICATION_ERROR>>Retryable: false>>Fatal: false.
I am using a private key authentication and I gave my SAP PI userid as User and private key as the key present in NWA.
Can you please help me in resolving this error.
Thanks,
Sivarama Krishna -
Hi,
When we try to send file over seeburger SFTP (receiver) we are getting the error as below.
Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: >> Description: SFTP transaction error occured.>> Details: putFile: Could not connect to remote host; Reason: Unable to open Sftp client. SshReasonCode: CHANNEL_FAILURE>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: COMMUNICATION_ERROR>>Retryable: true>>Fatal: true, >> Description: SFTP transaction error occured.>> Details: putFile: Could not connect to remote host; Reason: Unable to open Sftp client. SshReasonCode: CHANNEL_FAILURE>>SendingStatus: NOT_TRANSMITTED>>FaultCategory: COMMUNICATION_ERROR>>Retryable: true>>Fatal: true
But we are able to connect through filezilla . we are able to create and delete file using the same username and password which is being used in SFTP adapter.
we have imported the both dsa and rsa keys in SFTP partner folder in NWA. Even though we are getting same error.
Thanks,
VinayakHi Ram,
we checked with network team and port 22 is open and they are able to ping to the target system.
we checked the seeburger logs and we see EOF received from remote site error:
Caused by: com.maverick.ssh.SshException: EOF received from remote side [Unknown cause]
#at com.maverick.ssh2.TransportProtocol.b(Unknown Source)
#at com.maverick.ssh2.TransportProtocol.i(Unknown Source)
#at com.maverick.ssh2.TransportProtocol.nextMessage(Unknown Source)
#at com.maverick.ssh.message.SshMessageRouter.d(Unknown Source)
#at com.maverick.ssh.message.SshMessageRouter.access$000(Unknown Source)
#at com.maverick.ssh.message.SshMessageRouter$_b.run(Unknown Source)
Thanks,
Vinayak. -
Problem with Append mode in File Receiver
Hello,
I am facing some problem with Append Mode in File Receiver.
In channel config, i have given :
Construction Mode : Append
File Type : Text
Message Protocol : File Content Conversion
The size of the file which i am trying to send is about 9.5MB.
I got this error,
"Recovering from loss of connection to database; message
loaded into queue by recover job: System Job (Failover Recovery)".
So, it would seem that there was a loss of connnection to the database
while the file was being written.
Note - XI successfully recovered from the connection loss and
successfully wrote the file, however since the communication channel
was set to append, it appended to the partial file that was written
before the database connection loss. This is not correct. The file
should have been overwritten after the recovery even though the communication
channel was configured to append.
Can anyone help me on this regard.
Thanks,
Soorya.Hi Venkat,
I would suggest u to split the file in to chunks if u face any problem in processing at a time in append mode and also
Memory Requirements are must 4 processing huge files:
Q: Which memory requirements does the File Adapter have? Is there a restriction on the maximum file size it can process?
A: The maximum file size that can be processed by the File Adapter depends on a number of factors:
o The most important one is the size of the Java heap, which is shared among all messages processed at a certain point in time. In order to be able to process larger messages without an out of memory error (OOM), it is recommended to increase the size of the available Java heap and/or to reduce the concurrency in the system so that fewer messages are processed in parallel.
o Another factor negatively influencing the maximum message size in releases up to and including XI 3.0 SP 13 is an enabled charcter set (encoding) conversion if the message type is set to "Text".
o Using the transport protocol "File Transfer Protocol (FTP)" also uses more memory for processing than the transport protocol "File System (NFS)" (up to and including XI 3.0 SP 13).
o If the Message Protocol "File Content Conversion" is used in a File Sender channel, consider that not only the size of the input file affects the File Adapter's memory usage, but even more the size of the XML resulting from the conversion, which is usually a few factors larger than the original plain text file.
To reduce the memory consumption in this scenario, consider configuring the setting "Maximum Recordsets per Message" for the sender channel. This will cause the input file to be split into multiple smaller mesages.
Plz do refer the following links:
U may plan the availability of ur communication channel using "Planning Availability Times" feature
http://help.sap.com/saphelp_nw04/helpdata/en/45/06bd029da31122e10000000a11466f/frameset.htm
/people/sravya.talanki2/blog/2005/11/29/night-mare-processing-huge-files-in-sap-xi
hi check the below links for reference
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10748ef7-b2f0-2910-7cb8-c81e7f284af5
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7086f109-aaa7-2a10-0cb5-f69bd2affd2b
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2498bf90-0201-0010-4884-83568752a857
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cc1ec146-0a01-0010-90a9-b1df1d2f346f
Regards,
Vinod. -
Error in SFTP receiver channel
Hi,
We are getting following error while processing the SFTP receiver channel. There is a 64 MB file which need to be processed and while processing we started getting the error log.(We have processed more that 80 MB files from the same channel.)
The error log:
Message could not be forwarded to the JCA adapter. Reason: Fatal exception: com.seeburger.xi.connector.queue.TaskBuildException: failed to build seemessage object: java.io.IOException: Retry count limit is reached! Nested error: Error in BackupOutputStream::write( byte, int, int ): Insufficient system resources exist to complete the requested service, failed to build seemessage object: java.io.IOException: Retry count limit is reached! Nested error: Error in BackupOutputStream::write( byte[], int, int ): Insufficient system resources exist to complete the requested serviceHi,
Seems lile some issue with your server resources....Please contact your basis team.
Regards,
Naveen -
SFTP Receiver channel error :Message could not be forwarded to the JCA adapter.
Hello Guys,
I have different SFTP Receiver channels running in production from long time. Suddenly, they have started giving the same kind of error as below:
Any suggestion where to look for the solution to this issue.
Thank you!
Regards,
SimranHi,
Did you try connecting to the SFTP server using filezilla? May be something might have changed on the FTP server.
You can use the xpi inspector to get additional information. -
SFTP Receiver adapter error Message could not be forwarded to the JCA adapter
Hi Experts,
I'm needing help to solve a problem with an SFTP Receiver interface.
Before I was sending in the adapter configuration as "Direct" in Write Modus (File .txt) and now I changed to "Use temporary file" is occurring this error:
Message
could not be forwarded to the JCA adapter. Reason: 2: Moving
/ABCftp/To_XXX/140187613515701OUT_20140604-100214-622.TXT.tmp to /ABCftp/To_XXX/01OUT_20140604-100214-622.TXT failed.
Files as TXT they are being written to the SFTP however when as TMP returns this error ... would not rule SFTP server to accept different TXT files?
I also changed the namespace to "http://sap.com/xi/XI/System/SFTP" and "http://sap.com/xi/XI/System/File" but is not working.
Any help will be welcome!
tks.Hi Durga and Naveen...
I believe the problem is when the application's legacy system picks up the file because the log file got the "tmp", ie, was not formed yet ...
I changed to a directory without the intervention of the legacy application and it worked.
I'm waiting for the opportunity to modify the legacy system to capture only files with the extension TXT.
Tks All for help! -
Finger Print error in SFTP receiver adapter
Hi Experts ,
I am getting following error in SFTP receiver channel, here I have nominated the password based authentication rather than certificate authentication method in channel. And I have created finger print in NWA and shared with SSH server admin to import , then I maintained the same in my receiver channel also. And I have done the vice-versa created the finger print in SSH server side and given the same in channel . Still error is persist in channel, experts please suggest .
Error :
Message could not be forwarded to the JCA adapter. Reason: com.jcraft.jsch.JSchException: Fingerprint invalid. Fingerprint is: 6b:f4:38:e7:13:31:59:c8:76:4f:e1:93:10:ac:73:ca
Error MP: exception caught with cause javax.resource.ResourceException: com.jcraft.jsch.JSchException: Fingerprint invalid. Fingerprint is: 6b:f4:38:e7:13:31:59:c8:76:4f:e1:93:10:ac:73:ca
Error Exception caught by adapter framework: com.jcraft.jsch.JSchException: Fingerprint invalid. Fingerprint is: 6b:f4:38:e7:13:31:59:c8:76:4f:e1:93:10:ac:73:ca
Screen shots :
Thanks in advance,
RAJAAnd I have created finger print in NWA and shared with SSH server admin to import
>>>> Though i'm not sure how it works, you can validate the fingerprint of the FTP server with one which is configured in the channels.
If you have file zilla/coreFTP try to connect with the credentials and then you'll get a pop-up which should have the finger print information. -
SFTP receiver channel error :Failed to create JCA connection.
Hi All,
Facing below error in SFTP receiver channel.
This is the first run of SFTP adapter on our PI server.
Message could not be forwarded to the JCA adapter. Failed to create JCA connection. Reason: c:\temp\sample_ra_output.5.txt (The system cannot find the path specified)
Exception caught by adapter framework: Adapter call failed. Reason: c:\temp\sample_ra_output.5.txt (The system cannot find the path specified)
SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.Exception: Adapter call failed. Reason: c:\temp\sample_ra_output.5.txt (The system cannot find the path specified).
Please help.
Thanks & Regards,
Nida FatimaHi Heiko,
Thanks for correcting me.
PFB the screenshot of my channel.
After this change channel is giving different error :
Transmitting the message to endpoint <local> using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.Exception: Cannot lookup the ra connectionFactory. Reason: Object not found in lookup of com.sap.aii.adapter.sftp.ra.
Pleas guide.
Regards,
Nida -
Error in Seeburger Message Monitoring
Hi ,
I m using Seeburger as Sender R/3 System.and the receiver is Xi.as an idoc file.
I m getting error in seeburger message monitoring with status as "Could not send ansynchrone MDN to partner - url not set!". can anybody tell me whats the reason behind it,where it went wrong.Really didn't understand your scenario. That sentence makes no sense:
"I m using Seeburger as Sender R/3 System.and the receiver is Xi.as an idoc file."
But what I understand from the error message you have provided...................
if you are using Seeburger AS2 adapter as Receiver Comm Channel..........then there is definitely some cofig error is settings for MDN acknowledgement.
Under Parameters Tab:
You must have set the following parameter
MDN Mode = "ASYNC"
And has not provided the following parameter just below it :
Receipt Delivery Address
This parameter should have value: the URL of your own AS2
server where the asynchronous MDNs are
to be delivered.
Hope this solves your problem.
Regards,
Suddha -
Help req in Seeburger SFTP adapter
Hi All,
I have a scenario where i need to send a file to SFTP server. I used Seeburger SFTP adapter to connect to SFTP.
This is a pass through interface and i havent used any party at the confiuration( normal configuration without party)
In SFTP channel @ modules i configured it as:
localejbs/Seeburger/solution/<solutionName> Local Enterprise Bean solutionid
localejbs/ModuleProcessorExitBean Local Enterprise Bean exit
Module Key Parameter Name Parameter Value
exit JNDIName deployedAdapters/SeeXISFTP/shareable/SeeXISFTP
When i test the scenario i facing the following error in the receiver communication channel( SFTp Adapter) @ RWB
Delivering the message to the application using connection SFTP_http://seeburger.com/xi failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of ModuleProcessorExitB ean..
Can someone please help how to resolve this problem.
Thanks,
SivaHi,
can you share how you solved this issue? i am having the same issue with the sftp and receiving the same error.
Thanks in advance. -
Corrupt file error while writting a file in compress mode
Hello,
I have a scenario where i am writting data in a file in appending mode with filter 'compress' addition using open dataset, on Al11 for the first set of records it works fine but if this file is accessed again for writting data in next select statement ( its between select endselect),the file is getting corrupted, if i try to open this file corrupt file error come. can someone help.
Thanks and Regards,
GunjanHi Gunjan,
Unfortunately, you can't do in that way. The behaviour of that OPEN and FILTER 'compress' clause is to create a compacted file, to be read later, but it can be appended... all your writes go to a pipe and when you close the file this is sent to 'compress' program or other filter and than a compacted file is created.
You can't go back and start inserting again after close it.
Follow documentation:
http://help.sap.com/abapdocu_70/en/ABAPOPEN_DATASET_OS_ADDITION.htm
The addition FILTER must not be used together with the addition AT POSITION or for the access type FOR UPDATE.
Regards, Fernando Da Ró -
Seeburger SFTP - Message Transformation Bean Issue
Using Seeburger SFTP adapter to read a tab delimited file. File is being successfully read; however, content conversion need to be performed to convert the file content to XML. Thus, using Message Transformation Bean with the following module parameters.
Issue: It is reading the file as is u2013 there is not content conversion is being performed.
Processing Sequence:
1 localejbs/Seeburger/solution/sftp Local Enterprise Bean solutionid
2 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean mtb
3 localejbs/CallSapAdapter Local Enterprise Bean exit
Module Configuration:
mtb Transform.Class com.sap.aii.messaging.adapter.Conversion
mtb Transform.ContentType text/xml;charset=utf-8
mtb xml.conversionType SimplePlain2XML
mtb xml.documentName XXX_EXPENSES_mt
mtb xml.fieldContentFormatting trim
mtb xml.fieldNames FIELD1,FIELD2,FIELD3,FIELD4
mtb xml.fieldSeparator '0x09'
mtb xml.processFieldNames fromConfiguration
mtb xml.structureTitle RECORD
The following the noticeable details on CC:
Error type: TASK_ERROR >> Error date: 12/5/10 12:42 PM >> Description: Polling finished with errors. 1 file initiated. 1 file not polled due to errors.
Message initiated succesfully
Error type: TASK_ERROR >> Error date: >> Description: File <amex.dat> could not be polled from directory </usr/sap/interfaces/FTP1/send> on host <sapdv1ci>; Reason: removeFile: File xxx.dat could not be removed. SftpStatusCode: SSH_FX_NO_SUCH_FILE; Reason: No such file
Any help is greatly appreciated.
ThanksCheck the following...
1. Make sure you don't have any scripts running at your target folder.
Example: If you are reading your file from TEST folder make sure you don't have any scripts running here.
2. In File Setting section make sure you uncheck Delete file checkbok.
Regards
Srikanth Baki -
Java.lang.NullPointerException while using PGP module in SFTP receiver
Hi Experts,
We are trying out newly installed PGP module on SAP PI 711 SP10.
Scenario : SFTP to SFTP
While we are trying to encrypt the message in the SFTP receiver, we get the following error.
nested exception is: javax.ejb.EJBException: (Failed in component: sap.com/com.sap.aii.af.app, BC-XI-CON-AFW) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.af.app.endpoint.ModuleProcessorExitBean.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.aii.af.app.endpoint.ModuleProcessorExitBean@6437822b for bean sap.com/com.sap.aii.af.app*xml|com.sap.aii.af.ejb.jar*xml|ModuleProcessorExitBean in application sap.com/com.sap.aii.af.app.; nested exception is: java.lang.NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.Message.getMessageKey() of an object loaded from local variable 'msMessage'Thanks Hareesh,
ya that "callsapadapter" was the culprit. It comes by itself, Once I removed that PGP was working fine.
Maybe you are looking for
-
I cannot rename files located on a server volume in Mac OS 10.7.4
Hello, I have a user who is unable to rename any file types in bridge while using Mac OS 10.7.4. The same is true for metadata. When clicking on the name, the field should allow name changing but it does nothing when clicked on. Same goes for the
-
Presenting BI 7.0 reports in Portal
Hi All, I have some doubts about presenting the BI reports in portal. I have been creating iViews for the BI reports and presenting them to the user through roles. They are working fine. My doubt is, Is it possible to have the New Queries published t
-
I was having issues with my iPad so decided to do a complete wipe and restore. The wipe went fine, but when I asked iTunes to do the restore it asks, "Enter the password to unlock your iPad backup" I tried firstly entering the password I used to loc
-
Call a Portal Application from WebDynpro
Hi experts, i hope you can resolve my problem! My intention is to refresh the browser and call the first page of the portal after the portaluser pressed a button in an WebDynpro application. For this purpose i create a portal application with an JSPD
-
Tomcat - Block Access to URL on Remote Address Base
Hi Everybody! I have a webapplication runnning under "localhost/abc" on Tomcat. Now I want the address "localhost/abc/def" to be only available for the localhost. I tried configuring a valve <Valve className="org.apache.catalina.valves.RemoteAddrValv