synchronizeUserInformation() WLST Script Fails To Process Some User Entries (Doc ID 1520749.1)

Last updated on SEPTEMBER 28, 2015

Applies to:

Oracle WebCenter Portal - Version 11.1.1.5.0 to 11.1.1.7.1 [Release 11g]
Information in this document applies to any platform.

Symptoms

The Oracle WebCenter Identity Store (WLST) command: "synchronizeUserInformation" synchronizes user details in a WebCenter Portal application's policy store and WebCenter Portal application tables.
However, when executing this command some users do not get updated due to UNIQUE CONSTRAINT errors.

Example:
wls:/portal-dev/domainRuntime> synchronizeUserInformation(appName='webcenter',operationType='RENAME_GUID',fileName='/home/oracle/GUIDMappingFile.properties', component='ALL', dbVendor='Oracle', dbHostNPort='<DB_HOST>:1521',dbName='<DB_NAME>',dbSchemaName='DEV_WEBCENTER',verbose='true')

Enter the database password for the user [DEV_WEBCENTER]

Mapping File created successfully at : /home/oracle/GUIDMappingFile.properties
WebCenter Portal Guid(s) update started at Wed Jul 3 17:07:22 2013
Update user weblogic in Spaces database from old guid 6875EBF07B6811E2AF37095D843DD314 to new guid .
Updated 0 rows in the database table[column] WC_AS_ACTIVITY_ELEMENT [CREATED_BY]
Updated 0 rows in the database table[column] WC_COMMENT [CREATED_BY]
Updated 0 rows in the database table[column] WC_COMMENT [MODIFIED_BY]
Updated 0 rows in the database table[column] WC_LIKE [VOTED_BY]

Exception occured while updating user weblogic[6875EBF07B6811E2AF37095D843DD314].

WebCenter Portal Guid(s) update completed at Wed Jul 3 17:07:23 2013
WebCenter Portal Guid(s) update completed successfully except for following users.
[weblogic[6875EBF07B6811E2AF37095D843DD314]]


Details on usage of (WLST) command synchronizeUserInformation are documented in Oracle® Fusion Middleware WebLogic Scripting Tool Command Reference.

Cause

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