Support Article
CPM713 install failing on Pega717 with ClassNotFoundException
SA-9160
Summary
In the CPM Installation Guide it only documents installing from within the Pega system but must be installed from the command line.
User is installing CPM 7.1.3 on top of Pega 7.1.7 using the install.sh script that is included in the media and user is getting the NoClassDefFoundError error in the logs.
This is working fine on Pega 7.1.6.
Error Messages
[java] Caused by: java.lang.ClassNotFoundException: com.pega.pegarules.boot.internal.extbridge.AppServerBaseLogger
[java] at com.pega.pegarules.internal.bootstrap.PRMiniLoader.loadClass(PRMiniLoader.java:377)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[java] ... 9 more
[java] Exception in thread "main" java.lang.RuntimeException: Problem during method invocation (main)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:515)
[java] at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
[java] Caused by: java.lang.NoClassDefFoundError: com/pega/pegarules/boot/internal/extbridge/AppServerBaseLogger
[java] at com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl.<clinit>(PRBootstrapImpl.java:57)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.checkForStartup(PRBootstrap.java:680)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:457)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:509)
[java] ... 1 more
[java] Caused by: java.lang.ClassNotFoundException: com.pega.pegarules.boot.internal.extbridge.AppServerBaseLogger
[java] at com.pega.pegarules.internal.bootstrap.PRMiniLoader.loadClass(PRMiniLoader.java:377)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[java] ... 9 more
Ant Process return a non 0 value
<< ./setupschema.sh - ERROR : PRPC 7.1 >> : Please check logs, exiting!!
<< ERROR : PRPC 7.1 >> : Please check logs, exiting!!
Steps to Reproduce
Run install.sh script found in the CPM 7.1.3 scripts directory in the media.
Root Cause
The root cause of this problem is defect/misconfiguration in the operating environment. The install.sh script that is included in the media works fine with Pega 7.1.6 but there are changes to run from the command line in Pega 7.1.7. The use of this script is not a documented installation procedure.
Resolution
Use the prpcUtils.sh script that comes with the Pega 7.1.7 media to import the required jar files.
1. Run the geneateddl.sh to generate the CPM schema changes and have DBA apply as documented in the Installation Guide.
2. Run the <Pega717media>/scripts/utils/prpcUtils.sh script to import the CPM jar files into the system
Published March 10, 2016 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.