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 March 9, 2017 - Updated April 24, 2017


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.