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

The Database with key value(s) PegaDATA does not exist

SA-34810

Summary



When trying to create a new application, an error is thrown.

Clicking on the error message link shows that PegaDATA does not exist.


Error Messages



A Data-Admin-DB-Table could not be saved due to 1 error(s) on it: .pyDatabaseName: The Database with key value(s) PegaDATA does not exist


Steps to Reproduce



Attempt to create a new application.


Root Cause



An issue in the custom application code or rules.

This is a split schema configuration and in this environment the PegaDATA database instance does not exist in Designer Studio.

Without this, the application does not have the connection information for the PegaDATA schema.


Resolution



Perform the following local-change:

Create a database instance "PegaDATA" and set the 'how to connect' dropdown to be "use configuration in preferences".

This will have the application refer to a database/databases/PegaDATA element in the prconfig.xml file like this: <env name="database/databases/PegaDATA/dataSource" value="java:comp/env/jdbc/PegaRULES"/>

This then points to an application server datasource jdbc/PegaRULES, which will define the connection information.

Published April 24, 2017 - 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