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

Pega 7 server fails during initializing PRAppLoader

SA-9383

Summary



User configured Pega 7.1.6 with AES 7.1 / Tomcat 7.0.59 / Oracle database setup and gets exceptions in the logs.

Error Messages



Apr 02, 2015 5:42:41 PM com.pega.pegarules.internal.bootstrap.PRMiniLoader
SEVERE:
Apr 02, 2015 5:42:41 PM com.pega.pegarules.internal.bootstrap.PRMiniLoader
SEVERE: ============================= Failed to bootstrap PegaRULES =============================
Apr 02, 2015 5:42:41 PM com.pega.pegarules.internal.bootstrap.PRMiniLoader
SEVERE:
Apr 02, 2015 5:42:41 PM com.pega.pegarules.internal.bootstrap.PRMiniLoader
SEVERE: Could not load the java class 'com/pega/pegarules/internal/bootstrap/phase2/PRBootstrapImpl.class' from the database table 'pr_engineclasses'
Apr 02, 2015 5:42:41 PM com.pega.pegarules.internal.bootstrap.PRMiniLoader
SEVERE: This is usually due to an empty 'pr_engineclasses' table, or possibly it does not contain the configured codeset version.
Apr 02, 2015 5:42:41 PM com.pega.pegarules.internal.bootstrap.PRMiniLoader
SEVERE: In this run the prbootstrap.properties specified 'pega-enginecode:07-10-13', checking database...
Apr 02, 2015 5:42:41 PM com.pega.pegarules.internal.bootstrap.PRMiniLoader
SEVERE:
Apr 02, 2015 5:42:41 PM com.pega.pegarules.internal.bootstrap.PRMiniLoader
SEVERE: 'pr_engineclasses' is empty, the database being used is not correctly loaded - check your installation.
Apr 02, 2015 5:42:41 PM com.pega.pegarules.internal.bootstrap.PRMiniLoader
SEVERE:
Apr 02, 2015 5:42:41 PM com.pega.pegarules.internal.bootstrap.PRMiniLoader
SEVERE:
Apr 02, 2015 5:42:41 PM com.pega.pegarules.internal.bootstrap.PRMiniLoader
SEVERE: Subsequent exceptions relating to class not being found are all related to this root cause...
Apr 02, 2015 5:42:41 PM com.pega.pegarules.internal.bootstrap.PRMiniLoader
SEVERE: Check to make sure the database is correctly configured and that the codeset version specified was correct and is present in that database.
Apr 02, 2015 5:42:41 PM com.pega.pegarules.internal.bootstrap.PRMiniLoader
SEVERE: =========================================================================================
Apr 02, 2015 5:42:41 PM com.pega.pegarules.internal.bootstrap.PRMiniLoader
SEVERE:
Apr 02, 2015 5:42:41 PM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421:
============ PegaRULES Bootstrap Configuration ============
Date: Thu Apr 02 17:42:41 EST 2015
Java Version: Oracle Corporation 1.7.0_71
Configuration: file:/D:/APPS/AES%20Prod/webapps/prweb/WEB-INF/classes/prbootstrap.properties
Pega-EngineCode: 07-10-13
Database: Oracle Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Driver: Oracle JDBC driver 11.2.0.3.0

(!) Unable to use given database configuration
(!) Unable to locate classes on filesystem
=============== End Bootstrap Configuration ===============

Apr 02, 2015 5:42:41 PM com.pega.pegarules.internal.bootstrap.PRBootstrap
SEVERE: Error initializing PRAppLoader
java.lang.ClassNotFoundException: com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl
at com.pega.pegarules.internal.bootstrap.PRMiniLoader.loadClass(PRMiniLoader.java:377)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.checkForStartup(PRBootstrap.java:663)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:457)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:509)
at com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot.contextDestroyed(WebAppLifeCycleListenerBoot.java:67)
...
Apr 02, 2015 5:42:41 PM com.pega.pegarules.internal.bootstrap.PRBootstrap
SEVERE: Problem during method invocation (contextDestroyed)
java.lang.RuntimeException: PRAppLoader was not properly initialized, unable to load class com.pega.pegarules.web.servlet.WebAppLifeCycleListener
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getImplementationOf(PRBootstrap.java:283)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getEntry(PRBootstrap.java:373)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getMethod(PRBootstrap.java:353)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:458)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:509)
at com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot.contextDestroyed(WebAppLifeCycleListenerBoot.java:67)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5063)
...


Steps to Reproduce



User took a database dump from a working environment .

Imported the dump to a new database and configured Tomcat to connect to this new database.

Root Cause



It was found that the new database schema does not contain entries in
PR_ENGINECLASSES
 table under PRPC schema. There seems to have been some issues while moving the database dump. 

Resolution



User plans to setup Pega7 instance freshly without importing the database dump.

Published March 21, 2016 - Updated December 2, 2021

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