Temp file remains in directory when file fails with error
[adapter] [all that remains] [delete] [File] [remains] [remains of the day] [temporary] [there remains]
- Receiver file adapter thread hangingSymptom The thread of receiver file adapter remains in runnable state while communication channel has the following configuration File Construction Mode=Create, Overwrite Existing File=false, Write Mode= Use Temporary File. Other terms File...
- FTP receiver adapter deletes file with append modeSymptom You are using the File Adapter in your business scenario for message processing. During the message processing, you notice, that, the FTP receiver adapter deletes the output file if it encounters...
- File adapter: NegativeArrayException occurs while ArchivingSymptom You have configured the File Adapter in your scenario with following options set in configuration: 1.Files are to be archived (with or without timestamp) after processing. 2.Local file system (and not...
- File Adapter messages stuck in “To Be Delivered” statusSymptom You have upgraded to PI 7.0 SP 18 and you notice that File Adapter messages are stuck in “TBDL”(To Be Delivered) status. Additionally, the following symptoms are noticed: 1 – File...
- File sender adapter generates duplicate message IDs.Symptom This note attempts to solve two issues: a) File sender adapter generates duplicate message IDs and sends it to Messaging system. In the Synchronous(Best Effort) scenario cases, Messaging system does not...
- File adapter metadata changed for adapter attributesSymptom You are using the File Adapter in your business scenario for message processing. During the transport of XI to another system, you notice that the values for some of the File...
Symptom
You are using the File Adapter in your business scenario for message processing. During file processing, you notice, that, the temporary file is not deleted(in case file fails with error). The configuration in such scenario would be as follows:
1 – File Construction Mode=Create
2 – Overwrite Existing File=false
3 – Write Mode= Use Temporary File
Other terms
File adapter,temporary file, file, adapter, delete
Reason and Prerequisites
Issue occurred due to a programmatic error.
Solution
This problem has been resolved by code correction. The archive and the
Support Package Stack Guide are located on the SAP Service Marketplace.See Note 952402 for the relevant link.