cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Cannot store file & cannot change directory

pvds90
Discoverer
0 Kudos
12,268

Hi all,

I can't find the right information in earlier topics about this subjects, so i'm hoping that you can help me.


We received in multiple iFlows on SAP CPI the following errors:

1. org.apache.camel.component.file.GenericFileOperationFailedException: Cannot change directory to: xxxxxx, cause: 2: The requested file does not exist


2. org.apache.camel.component.file.GenericFileOperationFailedException: Cannot store file: xxxxxxx.xml, cause: 4:

3. org.apache.camel.component.file.GenericFileOperationFailedException: Cannot change directory to: xxxxxx, cause: java.io.IOException: Pipe closed

Does anybody have an explanation for this errors? This errors are exceptions, because it appears only in some files and 97% of the files is going well with the same user credentials. I read online that the disconnect=true and stepwise=false could help, but it's not solved yet.

Thanks already for your help.

Regards,
Patrick

View Entire Topic
Sriprasadsbhat
Active Contributor

Hello Patrick,

As per my understanding it should resolve the issue.Usually when you select Change Directory Stepwise you might not be having access to other folders which would result in above errors.Same time its wise to look at the logs from SFTP server too since these errors are returned from SFTP server to understand the pattern as you have mentioned "because it appears only in some files and 97% of the files is going well with the same user credentials".

May be you can try to derive kind of pattern like below which would help to dig further into issue.

1) Time of occurrence of these errors ( what was the load on SFTP server from performance side or any issue that occurred on SFTP side ) and was there any parallel iflows were running to write /read files from same SFTP server.

2) File size you were trying to read or write from SFTP server( whether it caused any timeouts).

Finally if nothing works out please raise a ticket with to LOD-HCI-PI-CON with all the trace details from SFTP and SAP CPI so that guys from our development team can look into it.

Regards,

Sriprasad Shivaram Bhat

i305675
Advisor
Advisor
0 Kudos

Hello Patrick

Very likely the issue is related perhaps to special characters(i.e. space) on the file/folder name.

Regards,

Samuel