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

LogConfigurationException trying to use external jar method

SA-5873

Summary



Errors occurred during runtime when external JAR files included in Pega application were used by developers.

Error Messages



org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Jdk14Logger does not implement Log
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:412)


Steps to Reproduce

  1. Upload JARs to a shared path on the file system.
  2. Configure the compiler/defaultPaths DSS.
  3. Restart the server with cache clean.

Root Cause



A defect or configuration issue in the operating environment:
JARs were present on the classpath ahead of the JARs provided in the database. This resulted in usage of the native JDK logging by one of these JARs instead of the logging JARs provided by PRPC.


Resolution


 
Make the following change to the operating environment:
  1. Import the JAR files into the database using the Import Wizard. Import them into the Customer/06-01-01 codeset version provided by Pega or to an application-specific codeset version, for example mycodeset/01-01-01.
  2. If application-specific codeset version is used, add DSS (properties/com.pega.pegarules.bootstrap.codeset.version.mycodeset/default with value of 01-01-01) to include this codeset version to the system. The Customer/06-01-01 is automatically included with Pega.
  3. Remove the JAR files from the compiler default path DSS.
  4. Restart the system.

Published November 10, 2016 - 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