Support Article

Update script fails when upgrading to Pega 7.2.2



When trying to generate the DDL files for an update, the script fails with an ORA-31603 error.

Error Messages

[java] Caused by: java.sql.SQLException: ORA-31603: object "PCV4_ASSIGNMENTWB_SUMMARY" of type VIEW not found in schema "PEGA_DATA"
[java] ORA-06512: at "SYS.DBMS_METADATA", line 5746
[java] ORA-06512: at "SYS.DBMS_METADATA", line 8333
[java] ORA-06512: at line 1
[java] at oracle.jdbc.driver.T4CTTIoer.processError(
[java] at oracle.jdbc.driver.T4CTTIoer.processError(
[java] at oracle.jdbc.driver.T4C8Oall.processError(
[java] at oracle.jdbc.driver.T4CTTIfun.receive(
[java] at oracle.jdbc.driver.T4CTTIfun.doRPC(
[java] at oracle.jdbc.driver.T4C8Oall.doOALL(
[java] at oracle.jdbc.driver.T4CPreparedStatement.doOall8(
[java] at oracle.jdbc.driver.T4CPreparedStatement.doOall8(
[java] at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(
[java] at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(
[java] at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(
[java] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(
[java] at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(
[java] at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(
[java] at
[java] at
[java] at
[java] at
[java] at<init>(
[java] ... 3 more

/opt/pega/pega722_upgrade/scripts/setupDatabase.xml:2005: The following error occurred while executing this line:
/opt/pega/pega722_upgrade/scripts/setupDDL.xml:164: Java returned: 1

Total time: 1 minute 42 seconds
Ant Process returned a non 0 value

Steps to Reproduce

  1. Modify to reflect the appropriate DB.
  2. Execute the --action upgrade.
  3. Build Fails.

Root Cause

A Catalog Role permission was missing from the deployment user, causing it to not have the proper visibility of certain views.


Properly provision the deployment user with the permission set as recommended by the Pega deployment guides.

Published January 27, 2017 - Updated January 31, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.