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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.