Upgrade 11gR2 To 11gR2PS1 Fails With OPSS Schema Problem (Doc ID 1635599.1)

Last updated on DECEMBER 05, 2016

Applies to:

Oracle Access Manager - Version 11.1.2.1.1 and later
Information in this document applies to any platform.

Goal

using patch set assistant to upgrade OAM and OPSS in metadata repository as part of upgrade from 11gR2 to 11gR2PS1 for OAM/OIM

./psa -response /IAM_INSTALL/IAM/staging/iam/opss_upgrade_r2ps1.rsp

Gives:
Using response file /cb/env/infra/IAM_INSTALL/IAM/staging/iam/opss_upgrade_r2ps1.rsp for input
 Oracle Platform Security Services schema examine is in progress
 Oracle Platform Security Services schema examine finished with status: succeeded
 Oracle Platform Security Services schema upgrade is in progress
 Oracle Platform Security Services schema upgrade finished with status: failed
The command failed to complete successfully

Log file shows the following,

[2014-03-13T12:40:16.621-04:00] [RCU] [NOTIFICATION] [] [upgrade.RCU.jdbcEngine] [tid: 10] [ecid: 0000KIwKCRe5yWc_phh8iY1J8Txf000001,0] Connecting to database: user:sys as sysdba, connectString:jdbc:oracle:thin:sys as sysdba/*****@iam1-instance:1521/iam1.world
[2014-03-13T12:40:16.663-04:00] [RCU] [TRACE] [] [upgrade.RCU.jdbcEngine] [tid: 10] [ecid: 0000KIwKCRe5yWc_phh8iY1J8Txf000001,0] Driver: oracle.jdbc.driver.OracleDriver
[2014-03-13T12:40:16.667-04:00] [RCU] [TRACE] [] [upgrade.RCU.jdbcEngine] [tid: 10] [ecid: 0000KIwKCRe5yWc_phh8iY1J8Txf000001,0] jdbcUrl = jdbc:oracle:thin:sys as sysdba/*****@iam1-instance:1521/iam1.world
[2014-03-13T12:40:16.739-04:00] [RCU] [NOTIFICATION] [] [upgrade.RCU.jdbcEngine] [tid: 10] [ecid: 0000KIwKCRe5yWc_phh8iY1J8Txf000001,0] ParseNexecute Script: /nfs/oak_apl_tree/apl/iam/middleware/oracle_common/common/sql/opss/oracle/upgrade/opss_upgrade_111160_111161.sql
[2014-03-13T12:40:16.748-04:00] [OPSS] [ERROR] [] [upgrade.OPSS.OPSS1] [tid: 10] [ecid: 0000KIwKCRe5yWc_phh8iY1J8Txf000001,0] UPGCMP-00221: unexpected error uprading schema
[2014-03-13T12:40:16.750-04:00] [OPSS] [ERROR] [] [upgrade.OPSS.OPSS1] [tid: 10] [ecid: 0000KIwKCRe5yWc_phh8iY1J8Txf000001,0] [[
oracle.sysman.assistants.common.dbutil.SQLFatalErrorException: java.io.FileNotFoundException: /nfs/oak_apl_tree/apl/iam/middleware/oracle_common/common/sql/opss/oracle/upgrade/opss_upgrade_111160_111161.sql (No such file or directory)
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms