Support Article
Command line BIX Extract fails before extracting data
SA-47808
Summary
After configuring Business Information Exchange (BIX) to run from command line, the script starts but fails with a database error before it gets to running the extract.
Error Messages
[java] 2017-10-10 14:30:28,396 [ main] [ ] [ ] [ ] (l.access.ConnectionManagerImpl) ERROR - Not returning connection 0 for database "pegarules" to the pool as it previously encountered the following error
[java] User ID: (unknown)
[java] Last SQL: select pzPVStream from <your_schema>.pr4_base where pxObjClass = 'Data-Admin-DB-Name'
[java] java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
Steps to Reproduce
Not Applicable
Root Cause
A defect or configuration issue in the operating environment.
The prconfig.xml file used by the BIX command line process did not contain references to the default Schema for PegaRULES and PegaDATA.
Resolution
Ensure the following entries are in the prconfig.xml file used by the BIX command line process:
<env name="database/databases/PegaRULES/defaultSchema" value="rules_schema" />
<env name="database/databases/PegaDATA/defaultSchema" value="data_schema" />
Make sure that the DB user for PegaRULES has permissions on PegaDATA as well, same as the DB user for the jdbc/PegaRULES datasource.
Tags:
Published February 13, 2018 - 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.