cancel
Showing results for 
Search instead for 
Did you mean: 

File adapter - multiple threading issue.

former_member251814
Discoverer
0 Kudos

Hi Gurus,

I am facing issue with file adapter.

File sender comm channel is configured to pickup files from desired location (Polling of 60 sec) to process and after processing put file into archive directory.

Sometimes,  actually its intermittent, all files gets picked up and somehow misses one file from processing and directly puts into archive directory so e.g 7 files are there in folder for processing.....all will get picked but only 6 gets processed but all 7 gets moved to archive directory. somehow its skips one file from processing. After checking logs in NWA and RWB and sxmb_moni no message exist. As a workaround when issues arises we need to resubmit again missed file and it gets processed successfully.

Not sure why this is happening but anyone faced similar issue please suggest the solution.

Regards,

Swapnil

Accepted Solutions (0)

Answers (3)

Answers (3)

nitindeshpande
Active Contributor
0 Kudos

Hello Swapnil,

This is happening due to irregularities in the File channel components. Request you to ask your basis team to restart the File adapter service to resolve this issue.

Regards,

Nitin

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Swapnil,


As a workaround when issues arises we need to resubmit again missed file and it gets processed successfully.

Not sure why this is happening but anyone faced similar issue please suggest the solution.

Well this happened in one of our scenarios too, we found out that this happens when the archiving does not have the addTimeStamp checked.

Regards,

Mark

former_member182412
Active Contributor
0 Kudos

Hi Swapnil,

I guess when the file busy writing in the directory PI is picking up the file and processed, when PI pick up the zero bytes file and your configuration for empty file handling is set to 'Do Not Create Message' then PI don't create the message for this file, however when you check in archive directory full file will be written.

Check question question 3 in below sap note.

821267 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 / PI 7.3 File Adapter


To fix this problem you need to below as per the sap note.


    • Create the file using an extension, which does not get processed by the File Adapter, e.g., ".tmp"
    • Write the file content
    • Rename the file to its final name, so the File Adapter will notice its existence and pick it up

Regards,

Praveen.