Question

File listener isn't picking up the file from source location

Configured a file listener to pick a file from source location based on certain name format (ex: ABC_BCD*.csv). The listener is configured to run on all nodes but the listener isn't picking up the file from the source location. This is in Pega 7.3.1. Checked the access for the location to pega app server and it is all good. Listener has created the required folders in the source location (ex: work_ folder). Yet, listener is unable to read any new incoming file to the source location.

Trying to understand what could go wrong in processing of files. Any idea about the same would be helpful.

Note: file listener worked perfectly till July 02, 2019. Files placed in location after this date never got processed (there were 2 files placed in the location dated July 8 and July 9, 2019). The name format for the files matches with the format specified in the listener configuration.

***Edited by Moderator: Lochan to update platform capability tags***

Correct Answer
July 11, 2019 - 7:54am

Got the issue.

The permissions for the app server to access source location were revoked somehow on server restart. Not sure if this is an expected behavior but got the required permissions back now and the listener is able to process the files now.

Comments

Keep up to date on this post and subscribe to comments

July 10, 2019 - 7:37am

Can you please enable the debug log: com.pega.pegarules.integration.engine.internal.services.file.FileListener and collect the debug log and attach for further investigation?

July 10, 2019 - 4:48pm

Try with Nodebased Start up Option and configure to run on one JVM

Make sure you have enough privileges to the folder where you are trying to access using listener (source location)

Stop and Start the Listener using SMA/System Operations

 

 

Pega
July 10, 2019 - 9:51pm

July 11, 2019 - 1:45am

You could first remove any kind of restriction on your file listener.
pattern *, disable case sensitivity

If you yourself push a file in the listened directory, is it working? if your on linux/unix, can you chmod 777 this file.

is it a local directory from where you pick up the file?

If you're able to have one of your manual file picked up, you'll find which restriction is blocking automatic process.

Regards

Anthony

July 11, 2019 - 7:54am

Got the issue.

The permissions for the app server to access source location were revoked somehow on server restart. Not sure if this is an expected behavior but got the required permissions back now and the listener is able to process the files now.