Support Article
NoClassDefFoundError on connecting to a Pega hosted SOAP service
SA-16230
Summary
External application cannot access a Pega-hosted SOAP service.
Error Messages
Caused by: java.lang.NoClassDefFoundError: com/pega/apache/log4j/spi/ThrowableInformation
at com.pega.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:155)
at com.pega.apache.log4j.Category.forcedLog(Category.java:391)
at com.pega.apache.log4j.Category.error(Category.java:322)
at com.pega.pegarules.priv.LogHelper.error(LogHelper.java:1459)
Steps to Reproduce
NA
Root Cause
A defect or configuration issue in the operating environment. The needed class is sporadically unable to load from the database.
Resolution
Perform the following local-change:
Add following setting to prconfig.xml to pre-load the offending class:
<env name="initialization/preloadengineclasses" value="com.pega.apache.log4j.spi.ThrowableInformation" />
Published January 31, 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.