Question

3
Replies
152
Views
DhilliChaitanya Member since 2014 21 posts
Mindtree
Posted: January 13, 2020
Last activity: May 6, 2020

File Listener - Failed to move file to completed folder

Hi Team,

Getting below error after listener process the file placed in source location.

Error:

2020-01-13 11:00:14,957 [ FILE-Thread-48] [ STANDARD] [ ] [ ] ( services.file.FileActionImpl) ERROR File.LoadFile|AWEYFUN5L5A01OFKITXCQKVOY0QP13Z0N|989430407.1578913203892000 ghpm - Caught throwable processing payment_file_3.csv
com.pega.pegarules.pub.PRException: Failed to move payment_file_3.csv to completed folder.
at com.pega.pegarules.integration.engine.internal.services.file.FileActionImpl.moveWorkToCompleted(FileActionImpl.java:984) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.services.file.FileActionImpl.cleanupProcessing(FileActionImpl.java:938) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.services.file.FileActionImpl.cleanupAndUpdateStatus(FileActionImpl.java:645) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.services.file.FileActionImpl.execute(FileActionImpl.java:447) ~[printegrint.jar:?]
at com.pega.pegarules.storage.DirectoryPollingWatcher.run(DirectoryPollingWatcher.java:83) ~[prprivcommon.jar:?]
at com.pega.pegarules.integration.engine.internal.services.file.FileListener.run_(FileListener.java:468) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.services.listener.ServiceListenerBaseImpl.run(ServiceListenerBaseImpl.java:454) ~[printegrint.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
2020-01-13 11:00:14,974 [ FILE-Thread-48] [ STANDARD] [ ] [ ] ( services.file.FileActionImpl) ERROR File.LoadFile|AWEYFUN5L5A01OFKITXCQKVOY0QP13Z0N|989430407.1578913203892000 ghpm - Ignoring error while trying to cleanup work file.
com.pega.pegarules.pub.PRException: Unable to add extension [.err] to file ///172.55/PaymentFiles/payment_file_3.csv.
at com.pega.pegarules.integration.engine.internal.services.file.FileActionImpl.cleanupProcessing(FileActionImpl.java:902) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.services.file.FileActionImpl.handleErroredFiles(FileActionImpl.java:569) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.services.file.FileActionImpl.execute(FileActionImpl.java:477) ~[printegrint.jar:?]
at com.pega.pegarules.storage.DirectoryPollingWatcher.run(DirectoryPollingWatcher.java:83) ~[prprivcommon.jar:?]
at com.pega.pegarules.integration.engine.internal.services.file.FileListener.run_(FileListener.java:468) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.services.listener.ServiceListenerBaseImpl.run(ServiceListenerBaseImpl.java:454) ~[printegrint.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
Since file is not moving to completed folder, listener is continuously processing the records in file.
Data Integration
Share this page LinkedIn