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

ConfigurationException: Unable to obtain data source

SA-75107

Summary



When using the PRPC_Setup.jar to upgrade to Pega, 8.1.3, ConfigurationException occurs and the upgrade fails.


Error Messages



Caused by: com.pega.pegarules.pub.database.ConfigurationException: Unable to obtain data source "java:comp/env/jdbc/Source_DB", as it is undefined: code: <none> SQLState: <none> Message: <none>


Steps to Reproduce

  1. Upgrade Pega 7.4 to Pega 8.1.3.
  2. Run the upgrade process using the PRPC_Setup.jar.

Root Cause



The system included an additional Data-Admin-DB-Name instance which pointed back to a resource which was defined in the application server. 


Resolution



Perform the following local-change:
  1. Configure the setupDatabase.properties file to change the schema portion of the upgrade.
  2. Run the below command from the /scripts directory.

    generateddl.bat --action upgrade

    This produces the schema changes in the /schema/generated/oracledate/upgrade/oracledate.sql file.
     
  3. Manually apply the changes to the database.
  4. Rerun the upgrade process.

Published March 19, 2019 - 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