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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.