Support Article
Unable to run BIX extract using command-line editor
SA-3119
Summary
An exception is encountered when the BIX extract rule is run through command line editor (the connectivity to database appears fine)
Error Messages
SEVERE: Error creating datasource for prefix "example.oracle"; com.pega.pegarules.configdbcp.dbcp.BasicDataSourceFactory
Oct 30, 2014 9:08:17 PM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421: prbootstrap.properties merged with prbootstrap entries in Data-Admin-System-Settings
Oct 30, 2014 9:08:17 PM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource
SEVERE: Error creating datasource for prefix "example.oracle"; com.pega.pegarules.configdbcp.dbcp.BasicDataSourceFactory
Oct 30, 2014 9:08:17 PM com.pega.pegarules.internal.bootstrap.PRMiniLoader
19830421: Classes will NOT be loaded from the database; no version specified for Pega-EngineCode.
/home/pega/BIX/lib/boot/prbootphase2.jar (No such file or directory)
Perhaps executing with a non-standard classpath (e.g. JUnit tests)?
Oct 30, 2014 9:08:17 PM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421:
Steps to Reproduce
Create an extract rule.
Do the configurations
Create a sh file
run through command prompt
Root Cause
It was found that developer did not enable the required settings in prbootstrap.properties.
Resolution
Adding the following settings in prbootstrap.properties resolves the issue:
com.pega.pegarules.bootstrap.allclasses.datasource=java:comp/env/jdbc/PegaRULES
com.pega.pegarules.bootstrap.codeset.version.Pega-EngineCode=06-03-10
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.