Support Article
Running BIX 7.1 failing running from command line
SA-7441
Summary
BIX 7.1 running on Pega 7.1.7.
Trying to run bix extraction from the command line and it is failing trying to start the engine.
Error Messages
Feb 26, 2015 2:59:01 PM com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl
SEVERE: Error initializing PRAppLoader
Throwable occurred: java.lang.ClassNotFoundException: com.pega.pegarules.bootstrap.loader.PRAppLoader
at java.lang.Class.forName(Class.java:217)
at com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl._finishInitialization_privact(PRBootstrapImpl.java:673)
at com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl.finishInitialization(PRBootstrapImpl.java:227)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.checkForStartup(PRBootstrap.java:680)
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.pub.PegaRULES.main(PegaRULES.java:85)
Steps to Reproduce
Try to run BIX extraction from the command line using this classpath
-classpath ".:$BIX_DIR//lib/prbootphase2.jar:$BIX_DIR//lib/prbootstrap.jar:$BIX_DIR//lib/prdbcp.jar:$BIX_DIR/lib/jsr94-1.0.jar:$BIX_DIR//lib/db2jcc_v95.jar:$BIX_DIR/lib/db2jcc_license_cisuz.jar"
Root Cause
The classpath does not include the required jar files to run the BIX extraction from the command line in a Pega 7.1.7 environment.
Resolution
This issue is resolved by making the following change to the PRPC operating environment:
In the Pega 7.1.7 media in the Additional_Products/BIX/lib directory there are 4 jar files that need to be included on the classpath along with the JDBC driver jar files.
To your classpath add the BIX 7.1.7 versions of the prbootstrap.jar, prbootstrap-api.jar, prdbcp.jar, jsr94-1.0.jar and your database specific JDBC jar files to the classpath.
Published January 31, 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.