Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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.

Published February 13, 2018 - Updated December 2, 2021

Was this useful?

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.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us