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

PRPC717 NoClassDefFoundError com/pega/apache/log4j/spi/Throwable

SA-5645

Summary


After installing Pega 7.1.7 the administrator was observing the problem while deploying the application server, resulting in the error below.

Error Messages


####<Jan 14, 2015 7:14:22 PM EET> <Error> <com.pega.pegarules.internal.bootstrap.PRBootstrap> <xxxxxxxxxxx> <AdminServer> <[ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-001F5DCEE5963057A4BD> <> <1421255662232> <BEA-000000> <Problem during method invocation (saveInOwnTransaction) 
java.lang.NoClassDefFoundError: com/pega/apache/log4j/spi/ThrowableInformation


Root Cause


While handling errors in Pega if this relates to a log4j class the system will attempt to download that class from the database.

In this instance the following entries were added to the prconfig.xml file to enable system-wide db trace (with appears as a file in the Pega Temp directory under /StaticContent/global/ServiceExport as a file named dbOperations_<timestamp>.txt)


       <env name="database/dumpstats" value="true" />
       <env name="database/traceEvents" value="preparedStatementUpdate;preparedStatementQuery;preparedStatement" />
       <env name="alerts/database/operationTimeThreshold/suppressInserts" value="false" />

Resolution


The additional logging enabled the DBA to identify a missing database permission that was required.

For the full list of database permissions you can refer to: -

https://pdn.pega.com/documents/pega-717-installation-guide-for-weblogic-on-oracle
 

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