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
- Upgrade Pega 7.4 to Pega 8.1.3.
- 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:
- Configure the setupDatabase.properties file to change the schema portion of the upgrade.
- 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.
- Manually apply the changes to the database.
- Rerun the upgrade process.
Published March 19, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.