My Oracle Support Banner

Running the upgradeWebCenterPortal WLST Script Fails with Error: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (PRD01_WEBCENTER.IX_UNIQUE_PORTA_NAMESPACE_NAME) violated (Doc ID 2355878.1)

Last updated on FEBRUARY 02, 2018

Applies to:

Oracle WebCenter Portal - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms


When running the upgradeWebCenterPortal WLST command to complete the specific upgrade tasks for upgrading WebCenter Portal from 11g to 12c, the script fails with following errors:


ERROR

 

UpgradeDetails.log:

 

-------------------------------------------------------
Scope: Name=Portal1, GUID=<GUID>
-------------------------------------------------------
Status: Scope upgrade failed.
java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (PRD01_WEBCENTER.IX_UNIQUE_PORTA_NAMESPACE_NAME) violated

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:466)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:407)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1113)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:546)

 

 

UpgradeDiagnostic.log:

 

[TRACE]: Data migration from MDS to database could not be completed successfully. Review the log files for details to fix the errors, and run the upgrade again to migrate the failed portals/portal templates.
[TRACE]: Exiting class: LifecycleHandler, method: _doMDSToDBDataMigration

[TRACE]: Failed to upgrade WebCenter Portal application.

[TRACE]: Exiting class: Lifecycle, method: upgradeWebCenterPortal

 

UpgradeSummary.log

 

Upgrade of 931 Portals/Portal Templates failed.



STEPS


The issue can be reproduced at will with the following steps:

  1. Upgrade from WebCenter Portal 11g to 12c.
  2. Run the upgradeWebCenterPortal script to upgrade the portals.
    The upgrade will fail with the above errors.


 

Changes

 

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
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.