Question 3 Replies 296 Views × Close popover kranthi chirra (kranthic7883) TCS TCS US View Profile Send Message kranthic7883 Member since 2015 1 post TCS Posted: March 1, 2019 Last activity: September 30, 2019 Posted: 1 Mar 2019 11:35 EST Last activity: 30 Sep 2019 23:10 EDT Closed File listener picks up a file to process that is not completely copied to intake folder. We have a File Listener to pick up xml files and we noticed that intermittently file listener picks up a file and try to process it which is not fully copied to intake folder. Below is the error in log: Caught exception parsing XML stream org.xml.sax.SAXParseException: XML document structures must start and end within the same entity. Because the file is not fully copied it could not find the end tag, Also the corresponding file in the unprocessed folder is incomplete. In the activity , It is failing at the step Apply-Parse-XML . Before parsing we are doing a Base64Decode. Due to large volume of xml files we are seeing atleast 10 failures per day and as a work around we are manually moving the file from completed folder back to intake folder to re process. Listener is configured on 4 nodes Polling Interval : 300 seconds Pega V 7.1.7 Please help if there is any fix for this issue or any ideas to prevent this. Also any ideas to automate the reprocesing (moving the file from completed folder back to intake folder) will be helpful. Enterprise Application Development Dev/Designer Studio Share × Close popover Facebook Twitter Linkedin Email Copy Link Copied! Moderation Team has archived post, learn more × Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 2 years ago Posted: 1 Mar 2019 11:56 EST × Close popover Arvind Malav (ARVINDMALAV) PEGA Technical Manager PEG IN View Profile Send Message ARVINDMALAV PEGA replied to kranthic7883 Do you see any change in behavior is File listener is made to run only on single node? Posted: 2 years ago Posted: 4 Mar 2019 16:39 EST × Close popover kranthi chirra (kranthic6713) Prime Therapeutics LLC Prime Therapeutics LLC US View Profile Send Message kranthic6713 Prime Therapeutics LLC replied to ARVINDMALAV Tried running on only one node . No change Posted: 1 year ago Posted: 30 Sep 2019 23:10 EDT × Close popover Ravi Kumar B (br001) PEGA Principal Technical Solutions Engineer Pegasystems Inc. IN View Profile Send Message br001 PEGA replied to kranthic7883 Hi, Kindly validate the failed file first, for improper tag or missed out tags. If all the tags check out, Kindly use the option of Lock listener's temporary file in Process tab of the listener which will avoid the duplication read or locking of the files.