Support Article
Pega sporadically throws NoClassDefFoundError; needs restart
SA-16911
Summary
Pega 7.1.8 throws error 'java.lang.NoClassDefFoundError: com/pega/apache/log4j/spi/ThrowableInformation' when dependent REST services are down. Errors in JDBC connection pool.
Error Messages
2015-10-22 15:40:08,594 [fault (self-tuning)'] [ STANDARD] [your_accessgroup:01.01.01] ( ResumeFlow.Work_.Action) ERROR JMS|AsynchJMSServices - 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:1345)
at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_aff5414eb4c0d3784aade34861b0b9c0.step5_circum0(ra_action_pyinvokerestconnector_aff5414eb4c0d3784aade34861b0b9c0.java:1567)
at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_aff5414eb4c0d3784aade34861b0b9c0.perform(ra_action_pyinvokerestconnector_aff5414eb4c0d3784aade34861b0b9c0.java:137)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)
at com.pegarules.generated.activity.ra_action_invoke_6a91441c4f6e5048b63360383ae1b952.step7_circum0(ra_action_invoke_6a91441c4f6e5048b63360383ae1b952.java:1002)
at com.pegarules.generated.activity.ra_action_invoke_6a91441c4f6e5048b63360383ae1b952.perform(ra_action_invoke_6a91441c4f6e5048b63360383ae1b952.java:172)
Steps to Reproduce
- Create a case through SOAP service
- Listener will pick up the case and process in the background
- Dependent domain service is down and getting error message in the Pega logs
- Listener is throwing error message and marking the status as Failed
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Apply HFIX-24907
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.