Support Article
No Class Def Found Error-log4j
SA-20142
Summary
An exception was thrown when one of the SOAP calls was executed after updating to Pega 7.1.9 from Pega 7.1.7. This issue occurred when an exception was thrown from a remote service.
Error Messages
13:03:16,774 SEVERE [com.pega.pegarules.internal.bootstrap.PRBootstrap] (http-/0.0.0.0:8480-7) Problem during method invocation (invokeEngine): java.lang.NoClassDefFoundError: com/pega/apache/log4j/spi/ThrowableInformation
at com.pega.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:155)
Steps to Reproduce
1. Install Pega 7.1.7.
2. Deploy applications.
3. Update to Pega 7.1.9.
3. Invoke a SOAP call.
Root Cause
A defect or configuration issue in the operating environment. The needed class is unable to load from the database sporadically.
Resolution
Add the following setting to prconfig.xml to pre-load the offending class:
<env name="initialization/preloadengineclasses" value="com.pega.apache.log4j.spi.ThrowableInformation" />
Published March 1, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.