Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

FileListener cannot fetch source location after server restart



An AWS S3 Repository path is configured as the source location of a file listener. After every server restart, the FileListener aborts with an IllegalArgumentException in the logs. After resaving the Repository rule and executing Test Connectivity on it, the FileListener can be started manually and works correctly until the next server restart.

Error Messages

[fault (self-tuning)'] [STANDARD] [ ] [AoM:01.01.01] (services.file.FileListener) ERROR File.GetBatchFile ServiceUser - Unexpected exception caught during processing.
java.lang.IllegalArgumentException: Illegal characters detected in the path "repo_AWSS3:/folder/". You may not use ", ?, *, <, >, |, :
at ~[prpublic.jar:?]
at ~[prprivcommon.jar:?] 
at ~[prprivcommon.jar:?] 
at ~[prprivcommon.jar:?] 
at ~[printegrint.jar:?] 
at<init>( ~[printegrint.jar:?]
at ~[printegrint.jar:?] 
at ~[printegrint.jar:?] 
at com.pega.pegarules.session.internal.engineinterface.etier.impl.AsyncServant.processAsyncTask( ~[prprivate.jar:?] 
at com.pega.pegarules.session.internal.engineinterface.etier.impl.AsyncServant.invoke( ~[prprivate.jar:?] 
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact( ~[prprivate.jar:?] 
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine( ~[prprivate.jar:?] 
at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.invokeEngine( ~[prprivate.jar:?] 
at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke( ~[?:1.8.0_191] 
at java.lang.reflect.Method.invoke( ~[?:1.8.0_191] 
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod( ~[prbootstrap-7.3.1-218.jar:7.3.1-218] 
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable( ~[prbootstrap-7.3.1-218.jar:7.3.1-218] 
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable( ~[prbootstrap-api-7.3.1-218.jar:7.3.1-218]
.$ ~[com.bea.core.weblogic.workmanager.jar:] 
at weblogic.invocation.ComponentInvocationContextManager._runAs( ~[com.bea.core.utils.full.jar:] 
at weblogic.invocation.ComponentInvocationContextManager.runAs( ~[com.bea.core.utils.full.jar:] 
at ~[] 
at ~[com.bea.core.weblogic.workmanager.jar:] 
at ~[com.bea.core.weblogic.workmanager.jar:] 
at ~[com.bea.core.weblogic.workmanager.jar:] 
at ~[com.bea.core.weblogic.workmanager.jar:]

Steps to Reproduce

  1. Create an AWS S3 Repository rule.
  2. Create a file listener and refer the AWS S3 bucket path source location (file://repo_AWSS3:/folder). Perform Test Connectivity (success).
  3. Restart the server.
  4. Open the listener rule and perform Test Connectivity(fail). 

Root Cause

A software use or operation error.
The configuration of a Repository record as an input location for a FileListener does not work for versions prior to Pega 7.4.


Perform the following local-change:

Follow the instructions provided in the below link to configure the file listener associated with a storage destination.

Refer to:

Published March 21, 2019 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us