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

Database-BadDBDef-Missing error while running BIX scripts

SA-23253

Summary



A Database-BadDBDef-Missing error occurs while running BIX scripts from command line.

Error Messages



ERROR - Exception while fetching Schema information for database: PegaRules

com.pega.pegarules.pub.database.BadDatabaseDefinitionException: Database-BadDBDef-Missing pegarules

Steps to Reproduce



Run BIX from the command line.

Root Cause



The configuration of properties to address the target database and target schema were set wrong.

Resolution



Perform the following local-change:

​Set the following properties correctly in prconfig.xml to address the target database.

<env name="database/databases/yourTargetDB/url" value="jdbc:yourURL" />
<env name="database/databases/yourTargetDB/userName" value="yourUsername" />
<env name="database/databases/yourTargetDB/password" value="yourPassword" />
<env name="database/databases/yourTargetDB/defaultSchema" value="yourDefaultSchema"/>

Published May 14, 2016 - Updated October 8, 2020

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