Support Article
BIX issue running from command line in Pega 7.1.8
SA-24181
Summary
When attempting to run Business Intelligence Exchange (BIX) from the command line within a Linux environment, an error is thrown: Error: Could not find or load main class com.pega.pegarules.data.internal.access.ExtractImpl
Error Messages
$ ./bix.sh
Error: Could not find or load main class com.pega.pegarules.data.internal.access.ExtractImpl
Steps to Reproduce
Setup the environment and run the command line script.
Root Cause
A defect or configuration issue in the operating environment.The bix.sh script was not setup correctly.
Resolution
Make the following change to the operating environment:
In the extraction script, set the CLASSPATH to include all of the jar files from the BIX/lib directory of the media.
Setup the java command to include all of the required system properties and parameters.
Here is an example command:
java -Dcom.pega.pegarules.bootstrap.properties.url="file:///your_appspath/BIX/7.1.8/config/prbootstrap.properties" -Dpegarules.config="config/prconfig.xml" -Dpegarules.logging.configuration="config/prlogging.xml" -Dcom.pega.pegarules.bootstrap.ignorejndi=true com.pega.pegarules.pub.PegaRULES com.pega.pegarules.data.internal.access.ExtractImpl <extract parameters>
Published June 17, 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.