Support Article
DDL upgrade issue when upgrading PRPC 6.2 SP2 to Pega 7.2.2
SA-96361
Summary
The user is upgrading PRPC 6.2 SP2 to Pega Platform 7.2.2.
When following the steps from Appendix C in the Pega Platform 7.2.2 Upgrade Guide, the generated DDL is run manually by executing the upgrade.bat file and completing steps till Step 3.b of Appendix C. However, error occurs when executing Step 3.c which is to populate the tables that are already present in the database since the DDL is executed manually (earlier).
Error Messages
[java] [ main] [ ] [ ] (l.access.ConnectionManagerImpl) ERROR - Not returning connection 1 for database "pegarules" to the pool as it previously encountered the following error
[java] User ID: (unknown)
[java] Last SQL: select count(*) as "count" from PEGARULES.pr_data where pxObjClass = 'Data-pxStrategyResult-Innovators_BranchApp-SR'
[java] com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704, SQLERRMC=PEGARULES.PR_DATA, DRIVER=3.62.56
Steps to Reproduce
Use the Pega 7 Platform Upgrade Guide to upgrade PRPC 6.2 SP2 to Pega Platform 7.2.2.
For more information, refer to: https://community.pega.com/knowledgebase/documents/pega-722-platform-upgrade-guide
Root Cause
A software use or operation error.
Resolution
Perform the following local-change:
When the upgraded system involves a single database and upgraded Rules schema is utilized, use the procedure to upgrade the system with one database.
Published July 29, 2020 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.