Support Article

ExtractRules.ksh error "Could not find mainclass .pub.PegaRULES"

SA-31222

Summary



Getting an error trying to run commandline BIX from a Linux shell script.

The BIX extract rule works when run the PRPC UI.


Error Messages

Error: Could not find or load main class com.pega.pegarules.pub.PegaRULES

Steps to Reproduce



Run the linux shell script.


Root Cause



Issue was due to missing a jar file in the classpath.

Resolution



The Java Classpath needs to contain a reference to the following JAR file:

<BIX_HOME>/lib/prbootstrap-api.jar


Published December 8, 2016 - Updated April 28, 2017


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.