Question

32
Replies
3589
Views
GAVINHSU Member since 2011 19 posts
Mediatek Inc. China
Posted: August 13, 2015
Last activity: November 18, 2015
Closed
Solved

ClassNotFoundException: PRAppLoader when upgrading from 6.1 SP2 to 7.1.8

When I tried to upgrade our PEGA platform from version 6.1 SP2 to 7.1.8, this error came to us after running the upgrade.bat for 133 minutes 51 seconds.

I've checked the database, there is no table names PR_ASSEMBLEDCLASSES at all.

I'm wondering whether this table should be migrated from old database or not? I'm pretty sure that here's no error when I migrated tables from old database.

Does anyone know what is the root cause, and how to resolve it? Appreciate a lot.

[java] 2015-8-13 18:11:45 com.pega.pegarules.internal.bootstrap.PRMiniLoader

     [java] 19830421: Will load phase 2 bootstrap from Pega-EngineCode:07-10-17

     [java] Warn - NonVersionedJdbcJarReader - unable to load classes from the database: DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704, SQLERRMC=BPMRULED.PR_ASSEMBLEDCLASSES, DRIVER=4.11.77

     [java] 2015-8-13 18:12:33 com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl

     [java] 19830421: PegaRULES classes will be loaded from jar files (and NOT the database)

     [java] 2015-8-13 18:12:35 com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl

     [java] 严重: Error initializing PRAppLoader

     [java] java.lang.ClassNotFoundException: com.pega.pegarules.bootstrap.loader.PRAppLoader

     [java] at com.pega.pegarules.internal.bootstrap.phase2.PRBaseLoader.findClass(PRBaseLoader.java:312)

     [java] at java.lang.ClassLoader.loadClass(Unknown Source)

     [java] at com.pega.pegarules.internal.bootstrap.phase2.PRBaseLoader.loadClass(PRBaseLoader.java:237)

     [java] at java.lang.ClassLoader.loadClass(Unknown Source)

     [java] at java.lang.Class.forName0(Native Method)

     [java] at java.lang.Class.forName(Unknown Source)

     [java] at com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl.initializeAppLoader(PRBootstrapImpl.java:1134)

     [java] at com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl._finishInitialization_privact(PRBootstrapImpl.java:250)

     [java] at com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl.finishInitialization(PRBootstrapImpl.java:122)

     [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

     [java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

     [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

     [java] at java.lang.reflect.Method.invoke(Unknown Source)

     [java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.checkForStartup(PRBootstrap.java:682)

     [java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:405)

     [java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:223)

     [java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:272)

     [java] at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)

     [java] 2015-8-13 18:12:35 com.pega.pegarules.internal.bootstrap.PRBootstrap

     [java] 19830421:

     [java] ============ PegaRULES Bootstrap Configuration ============

     [java]            Date: Thu Aug 13 18:12:35 CST 2015

     [java]    Java Version: Sun Microsystems Inc. 1.6.0_30

     [java]   Configuration: file:/C:/Users/mtk40659/AppData/Local/Temp//PegaInstallTemp-13-August-2015-15.58.45/prbootstrap.properties

     [java] Pega-EngineCode: 07-10-17

     [java]     JDBC Driver: com.ibm.db2.jcc.DB2Driver

     [java]        JDBC URL: jdbc:db2://172.21.91.229:50000/bpmd2:fullyMaterializeLobData=true;fullyMaterializeInputStreams=true;progressiveStreaming=2;useJDBC4ColumnNameAndLabelSemantics=2;

     [java]       JDBC User: bpmruled

     [java]        Database: DB2/LINUXX8664 SQL09073

     [java]          Driver: IBM Data Server Driver for JDBC and SQLJ 4.11.77

     [java] Active CodeSets: pega-enginecode:07-10-17 at (latest patch)

     [java]

     [java] =============== End Bootstrap Configuration ===============

     [java]

     [java] 2015-8-13 18:12:35 com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega

     [java] 严重: Problem during method invocation (main)

     [java] java.lang.RuntimeException: PRAppLoader was not properly initialized, unable to load class com.pega.pegarules.deploy.internal.util.ImportImpl

     [java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.getImplementationOf(PRBootstrap.java:205)

     [java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.getEntry(PRBootstrap.java:321)

     [java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.getMethod(PRBootstrap.java:301)

     [java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:406)

     [java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:223)

     [java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:272)

     [java] at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)

     [java] Exception in thread "main" java.lang.RuntimeException: Problem during method invocation (main)

     [java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:278)

     [java] at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)

     [java] Caused by: java.lang.RuntimeException: PRAppLoader was not properly initialized, unable to load class com.pega.pegarules.deploy.internal.util.ImportImpl

     [java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.getImplementationOf(PRBootstrap.java:205)

     [java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.getEntry(PRBootstrap.java:321)

     [java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.getMethod(PRBootstrap.java:301)

     [java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:406)

     [java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:223)

     [java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:272)

     [java] ... 1 more

Low-Code App Development Upgrades
Moderation Team has archived post
Share this page LinkedIn