Clarity PPM - Validator.ConfigurationFile not found in ESAPI.properties
search cancel

Clarity PPM - Validator.ConfigurationFile not found in ESAPI.properties

book

Article ID: 222660

calendar_today

Updated On: 09-27-2023

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

When starting Clarity services, the following errors are thrown in the application logs: 

2021/08/25 17:27:56.261 | Attempting to load validation.properties via file I/O.
2021/08/25 17:27:56.261 | Attempting to load validation.properties as resource file via file I/O.
2021/08/25 17:27:56.261 | Found in 'org.owasp.esapi.resources' directory: /xxxx/runtime/clarity/webroot/cappm/validation.properties
2021/08/25 17:27:56.261 | Loaded 'validation.properties' properties file
2021/08/25 17:27:56.261 | Reset resource directory to: /metlife/runtime/clarity/webroot/cappm/
2021/08/25 17:27:56.261 | Attempting to load ESAPI.properties via file I/O.
2021/08/25 17:27:56.261 | Attempting to load ESAPI.properties as resource file via file I/O.
2021/08/25 17:27:56.261 | Not found in 'org.owasp.esapi.resources' directory or file not readable: /xxxx/runtime/clarity/webroot/cappm/ESAPI.properties
2021/08/25 17:27:56.261 | Not found in SystemResource Directory/resourceDirectory: /xxxx/runtime/clarity/webroot/cappm//ESAPI.properties
2021/08/25 17:27:56.261 | Not found in 'user.home' (/home/xxxx/xxxx) directory: /home/xxxx/xxxx/esapi/ESAPI.properties
2021/08/25 17:27:56.261 | Loading ESAPI.properties via file I/O failed. Exception was: java.io.FileNotFoundException
2021/08/25 17:27:56.261 | Attempting to load ESAPI.properties via the classpath.
2021/08/25 17:27:56.261 | SUCCESSFULLY LOADED ESAPI.properties via the CLASSPATH from '/ (root)' using current thread context class loader!
2021/08/25 17:27:56.261 | SecurityConfiguration for Validator.ConfigurationFile.MultiValued not found in ESAPI.properties. Using default: false
2021/08/25 17:27:56.261 | SecurityConfiguration for Validator.ConfigurationFile not found in ESAPI.properties. Using default: validation.properties
2021/08/25 17:27:56.261 | SecurityConfiguration for Validator.ConfigurationFile not found in ESAPI.properties. Using default: validation.properties
2021/08/25 17:27:56.261 | Attempting to load validation.properties via file I/O.
2021/08/25 17:27:56.261 | Attempting to load validation.properties as resource file via file I/O.
2021/08/25 17:27:56.261 | Found in 'org.owasp.esapi.resources' directory: /xxxx/runtime/clarity/webroot/cappm/validation.properties
2021/08/25 17:27:56.262 | Loaded 'validation.properties' properties file

Environment

Release : 15.9+

Resolution

  • This error message is thrown by the esapi library, and is just a benign warning
  • The file loading initially fails via file I/O, then the file is loaded via classpath successfully
  • This is the expected behavior and Broadcom Support recommends to ignore this warning 
  • No further action is needed and the system is healthy