Receiver file adapter thread hanging
[adapter] [delivering] [ene cir receiver] [File] [hang] [Receiver] [rf receiver] [status] [temporary] [thread] [wireless receiver]
- 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 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...
- 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...
- Temp file remains in directory when file fails with errorSymptom 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...
- Receiver Determination WebService: Mapping missingSymptom If you use the Directory API to read a Receiver Determination with an Operation Mapping (extended mode) then the mapping data are missing in the received document. Or if you want...
- Adapter Framework Scheduler may fail to remove a jobSymptom XI Adapter Framework’s scheduler may fail to remove the scheduled job. When this problem occurs, the affected job may get executed continuously for some period in parallel. This problem can be...
Symptom
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 adapter,thread hang,temporary file,delivering status
Reason and Prerequisites
The Receiver file adapter thread is stuck in the runnable state when the temporary file is used and over writing of existing file is set to false. Since the temporary file was not being deleted and the overwriting of existing file i.e. target file was set to false, the thread would never end. The reason for this is program 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.