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

NoClassDefFoundError reported in the WAS environment

SA-17373

Summary



User intermediately gets ​NoClassDefFoundError in application server and issue is getting resolved on restart of the server.

Error Messages



com.pega.pegarules.session.internal.mgmt.authentication.AuthenticationUtil
Problem executing activity: Code-Security.bsAuthorization
java.lang.NoClassDefFoundError: com.pega.apache.axiom.om.OMNode
at com.pega.pegarules.integration.engine.internal.PRIntegrationEngineProviderImpl.getServiceUtilsPriv(PRIntegrationEngineProviderImpl.java:208)
at com.pega.pegarules.session.internal.mgmt.Executable.getServiceUtilsPriv(Executable.java:2106)


Steps to Reproduce



1. Install Pega 7.1.7 ear file in WebSphere in a UNIX/Linux system

2. Intermittently NoClassDefFoundError traces are reported in the log files

Root Cause



This issue is manifesting due to class loading issue. The folder extractedFiles/apploader is getting created at shared location and in case the JVM is restarted, these files will be deleted. Ideally, extractedFiles/apploader should be created in the temp folder location only, which are given on server level during application server setup.


In Pega 7.1.7, the main folder extractedFiles is getting created in JVM temp folder. This is very volatile directory and could impact the application if that directory gets emptied, which is happening in this case.

This issue is specific to WAS ear deployment prpc_j2ee14_ws.ear file in Pega 7.1.7.


Resolution



This issue has been addressed in Pega 7.1.8 release.
 
In Pega 7.1.7, suggested user to specify a JVM argument to redirect the files to a location of your choice.

-Djava.io.tmpdir=/myPega717tmpdir

Set this JVM param for different applications and make sure the extractedFiles/apploader is not shared by multiple applications/node.

This will resolve intermediate issues related with NoClassDefFoundError issue reported in the log files.

Published January 31, 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