Schema Upgrade from 12.2.1.3.0 to 12.2.1.4.0 Fails with 'Error creating PL/SQL Object SOA11G'
(Doc ID 2901540.1)
Last updated on AUGUST 06, 2024
Applies to:
Oracle SOA Suite - Version 12.2.1.4.0 and laterInformation in this document applies to any platform.
Symptoms
When attempting to run the Upgrade Assistant, schema upgrade fails due to the following error. However, the UA Readiness Check is successful.
ERROR
-----------------------
[2022-10-03T17:34:11.188-04:00] [RCU] [ERROR] [] [upgrade.RCU.jdbcEngine] [tid: 93] [ecid: 96bff32d-1f7e-431d-ae51-ac66cd6e78b6-00000002,0] Error encountered executing SQL statement FileName: '.../purge_soa_oracle.sql' LineNumber: '103' Script log file: .../ua2022-10-03-17-25-29PM.out
[2022-10-03T17:34:11.189-04:00] [Framework] [ERROR] [UPGAST-00221] [upgrade.Framework] [tid: 93] [ecid: 96bff32d-1f7e-431d-ae51-ac66cd6e78b6-00000002,0] unexpected error upgrading schema
[2022-10-03T17:34:11.189-04:00] [Framework] [ERROR] [] [upgrade.Framework] [tid: 93] [ecid: 96bff32d-1f7e-431d-ae51-ac66cd6e78b6-00000002,0] Cause: An unexpected error occurred during schema upgrade.
[2022-10-03T17:34:11.189-04:00] [Framework] [ERROR] [] [upgrade.Framework] [tid: 93] [ecid: 96bff32d-1f7e-431d-ae51-ac66cd6e78b6-00000002,0] Action: Check the error messages in the Upgrade Assistant log files. Correct the problem before running the Upgrade Assistant again.
[2022-10-03T17:34:11.189-04:00] [Framework] [ERROR] [] [upgrade.Framework] [tid: 93] [ecid: 96bff32d-1f7e-431d-ae51-ac66cd6e78b6-00000002,0] [[
oracle.sysman.assistants.common.dbutil.SQLFatalErrorException: Error creating PL/SQL Object SOA11G : PACKAGE BODY - PL/SQL: ORA-00942: table or view does not exist
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PL/SQL: SQL Statement ignored
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PLS-00364: loop index variable 'GVSESS_REC' use is invalid
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PL/SQL: Statement ignored
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PLS-00364: loop index variable 'GVSESS_REC' use is invalid
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PL/SQL: Statement ignored
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PLS-00364: loop index variable 'GVSESS_REC' use is invalid
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PL/SQL: Statement ignored
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PL/SQL: ORA-00942: table or view does not exist
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PL/SQL: SQL Statement ignored
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PLS-00364: loop index variable 'GVSESS_REC' use is invalid
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PL/SQL: Statement ignored
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PLS-00364: loop index variable 'GVSESS_REC' use is invalid
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PL/SQL: Statement ignored
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PLS-00364: loop index variable 'GVSESS_REC' use is invalid
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PL/SQL: Statement ignored
at oracle.sysman.assistants.common.dbutil.jdbc.JDBCEngine.parseNexecuteScript(JDBCEngine.java:1735)
at oracle.sysman.assistants.common.dbutil.jdbc.JDBCEngine.parseNexecuteScript(JDBCEngine.java:1603)
at oracle.ias.update.plugin.UpgradeJDBCEngine.execute(UpgradeJDBCEngine.java:192)
at oracle.ias.update.plugin.UpgradePlugin.executeJDBCEngineScript(UpgradePlugin.java:1902)
at oracle.ias.update.plugin.UpgradePlugin.executeJDBCEngineScript(UpgradePlugin.java:1827)
at oracle.ias.update.plugin.soa.SOAINFRAPlugin.upgrade_soainfra_one_patchset(SOAINFRAPlugin.java:666)
at oracle.ias.update.plugin.soa.SOAINFRAPlugin.upgrade_soainfra(SOAINFRAPlugin.java:535)
at oracle.ias.update.plugin.soa.SOAINFRAPlugin.upgrade(SOAINFRAPlugin.java:412)
at oracle.ias.update.plugin.Plugin.upgrade(Plugin.java:730)
at oracle.ias.update.plan.PlanStep.upgrade(PlanStep.java:736)
at oracle.ias.update.PhaseProcessor$UpgradeProcessor.runStepPhase(PhaseProcessor.java:775)
at oracle.ias.update.PhaseProcessor.runStep(PhaseProcessor.java:382)
at oracle.ias.update.PhaseProcessor$ExtendedRunnable.run(PhaseProcessor.java:1178)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
]]
-----------------------
[2022-10-03T17:34:11.188-04:00] [RCU] [ERROR] [] [upgrade.RCU.jdbcEngine] [tid: 93] [ecid: 96bff32d-1f7e-431d-ae51-ac66cd6e78b6-00000002,0] Error encountered executing SQL statement FileName: '.../purge_soa_oracle.sql' LineNumber: '103' Script log file: .../ua2022-10-03-17-25-29PM.out
[2022-10-03T17:34:11.189-04:00] [Framework] [ERROR] [UPGAST-00221] [upgrade.Framework] [tid: 93] [ecid: 96bff32d-1f7e-431d-ae51-ac66cd6e78b6-00000002,0] unexpected error upgrading schema
[2022-10-03T17:34:11.189-04:00] [Framework] [ERROR] [] [upgrade.Framework] [tid: 93] [ecid: 96bff32d-1f7e-431d-ae51-ac66cd6e78b6-00000002,0] Cause: An unexpected error occurred during schema upgrade.
[2022-10-03T17:34:11.189-04:00] [Framework] [ERROR] [] [upgrade.Framework] [tid: 93] [ecid: 96bff32d-1f7e-431d-ae51-ac66cd6e78b6-00000002,0] Action: Check the error messages in the Upgrade Assistant log files. Correct the problem before running the Upgrade Assistant again.
[2022-10-03T17:34:11.189-04:00] [Framework] [ERROR] [] [upgrade.Framework] [tid: 93] [ecid: 96bff32d-1f7e-431d-ae51-ac66cd6e78b6-00000002,0] [[
oracle.sysman.assistants.common.dbutil.SQLFatalErrorException: Error creating PL/SQL Object SOA11G : PACKAGE BODY - PL/SQL: ORA-00942: table or view does not exist
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PL/SQL: SQL Statement ignored
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PLS-00364: loop index variable 'GVSESS_REC' use is invalid
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PL/SQL: Statement ignored
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PLS-00364: loop index variable 'GVSESS_REC' use is invalid
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PL/SQL: Statement ignored
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PLS-00364: loop index variable 'GVSESS_REC' use is invalid
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PL/SQL: Statement ignored
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PL/SQL: ORA-00942: table or view does not exist
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PL/SQL: SQL Statement ignored
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PLS-00364: loop index variable 'GVSESS_REC' use is invalid
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PL/SQL: Statement ignored
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PLS-00364: loop index variable 'GVSESS_REC' use is invalid
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PL/SQL: Statement ignored
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PLS-00364: loop index variable 'GVSESS_REC' use is invalid
Error creating PL/SQL Object SOA11G : PACKAGE BODY - PL/SQL: Statement ignored
at oracle.sysman.assistants.common.dbutil.jdbc.JDBCEngine.parseNexecuteScript(JDBCEngine.java:1735)
at oracle.sysman.assistants.common.dbutil.jdbc.JDBCEngine.parseNexecuteScript(JDBCEngine.java:1603)
at oracle.ias.update.plugin.UpgradeJDBCEngine.execute(UpgradeJDBCEngine.java:192)
at oracle.ias.update.plugin.UpgradePlugin.executeJDBCEngineScript(UpgradePlugin.java:1902)
at oracle.ias.update.plugin.UpgradePlugin.executeJDBCEngineScript(UpgradePlugin.java:1827)
at oracle.ias.update.plugin.soa.SOAINFRAPlugin.upgrade_soainfra_one_patchset(SOAINFRAPlugin.java:666)
at oracle.ias.update.plugin.soa.SOAINFRAPlugin.upgrade_soainfra(SOAINFRAPlugin.java:535)
at oracle.ias.update.plugin.soa.SOAINFRAPlugin.upgrade(SOAINFRAPlugin.java:412)
at oracle.ias.update.plugin.Plugin.upgrade(Plugin.java:730)
at oracle.ias.update.plan.PlanStep.upgrade(PlanStep.java:736)
at oracle.ias.update.PhaseProcessor$UpgradeProcessor.runStepPhase(PhaseProcessor.java:775)
at oracle.ias.update.PhaseProcessor.runStep(PhaseProcessor.java:382)
at oracle.ias.update.PhaseProcessor$ExtendedRunnable.run(PhaseProcessor.java:1178)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
]]
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |