Pega 7.4 upgrade fails at Update Existing Applications stage
Pega 7.4 upgrade fails at the 'Update Existing Applications' stage with an error.
[java] [ ] [STANDARD] [ ] [ ] (_Landing_System_Upgrade.Action) INFO - Update Wizard is done!
[java] [ ] [STANDARD] [ ] [ ] (internal.util.UpdateWizard) INFO - Upgrading customer application schema.
[java] [ ] [STANDARD] [ ] [ ] (ternal.store.DataSourceManager) ERROR - Unable to obtain DataSource for jdbc/MyDataSource
[java] [ ] [ STANDARD] [ ] [ ] (etier.impl.EngineStartup) WARN - PegaRULES shutdown initiated.
Steps to Reproduce
- Upgrade Pega 7.2 to Pega 7.4.
- Run the Pega in-place upgrade.
A defect in Pegasystems’ code or rules.
The application has an external datasource, jdbc/MyDataSource, with classes in Pega which point to tables in the database. The Update script must skip these references; however, it attempts to process them.
Perform either of the following local-changes:
- Remove the Data-Admin-DB-Name rule with jdbc/MyDataSource reference.
- Remap the tables to PegaRULES.
- Run the migrate and upgrade scripts of the rules schema objects and the rest of the upgrade steps.
- Post upgrade, reinstate the deleted rule and update the table mappings.
For more information, refer to: https://community.pega.com/support/support-articles/database-general-unable-obtain-data-source
Alternatively, since the 'Update Existing Applications' step that the in-place upgrade fails on, can be performed as a post-processing step, another option is to bypass the step during the upgrade. Perform the step after the upgrade when the jdbc/MyDataSource is available on the application server or specified using a URL in prpcUtils.
0% found this useful