Sporadic NoClassDefFoundErr exception after calling SOAP Service
SummaryWhile trying to validate a policy in their application, the user gets an error NoClassDefFoundErr after hitting “Policy Validation”.
User has checked in logs and found that the below Classes were showing as “NotFound”:
The system was unable to find the path for one or more of the above mentioned classes and the issue is sporadic in nature and not reproducible in earlier environments.
But when the files were tracked in Production environment for those specific paths, for example: ..extractedFiles/apploader/praxiom-1.2.13.jar, the files were present there.
Error MessagesFound the "NoClassDefFoundError" exceptions in the log files for the below classes:
Steps to Reproduce1. Log into the application.
2. Opened a Work Order with some pre-filled data and clicked on the "Policy Validation" button.
3. A screen was shown with "Cancel, Discard and Save" buttons instead of staying on the same screen after the validation with Policy Center.
Root CauseA defect in the Pega 7.1.7 deployment resulted in an issue with the ExtractedFiles directory used by the jvm.
ResolutionWithin WebLogic, specify a JVM argument to redirect the files to a location of choice:
This is a modified solution from the one for WebSphere available at:
Published August 30, 2016 - Updated September 7, 2016