My Oracle Support Banner

Running upgradeWebCenterPortal fails with: LDAP Error 2 : simple bind failed (Doc ID 2861916.1)

Last updated on OCTOBER 10, 2023

Applies to:

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

Symptoms

Running the upgradeWebCenterPortal command for upgrading WebCenter Portal from 11g to 12c fails wit the following error:


ERROR


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

 

 

WC_Spaces-diagnostic.log

[<DATE_TIME>] [WC_Spaces] [ERROR] [] [oracle.adf.share.security.providers.jps.JpsUtil] [tid: [ACTIVE].ExecuteThread: '35' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USER_ID>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [[
oracle.igf.ids.IDSException: Operations error: entity=cn=users,dc=... op=find mesg=
       at oracle.igf.ids.arisid.ArisIdServiceManager.findEntity(ArisIdServiceManager.java:1712)
       at oracle.igf.ids.UserManager.searchUser(UserManager.java:236)
       at oracle.adf.share.security.providers.jps.JpsUtil.getIDDUserUniqueIdentifier(JpsUtil.java:261)
       ...
Caused by: oracle.igf.ids.arisid.ArisIdConnectionException: Operations error: entity=cn=users,dc=... op=find mesg= AdditionalInfo: LDAP Error 2 : simple bind failed: <LDAP_HOST>:<LDAP_SSL_PORT>
       at com.oracle.ovd.arisid.OvdIdsStackProvider.mapResultCode(OvdIdsStackProvider.java:774)
       at com.oracle.ovd.arisid.OvdIdsStackProvider.doFind(OvdIdsStackProvider.java:1334)
       at com.oracle.ovd.arisid.ArisIdStackProvider.doFind(ArisIdStackProvider.java:172)
...

Caused by: javax.naming.CommunicationException: simple bind failed: <LDAP_HOST>:<LDAP_SSL_PORT> [Root exception is javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty]
       at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:219)
       at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2895)
       at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:348)
       ...

[<DATE_TIME>] [WC_Spaces] [ERROR] [WCS-67003] [oracle.webcenter.concurrent.Submission] [tid: pool-1-daemon-thread-4] [userId: <USER_ID>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] Submission[id=5, task=Task[class=oracle.vcr.jam.ConnectionWrapperTask, service=oracle.webcenter.content.jcr.login, resource=WebCenterSpaces-UCM, isDone=false, requestedTimeoutPeriod=default, actualTimeoutPeriod=120000ms], source=Task[class=oracle.vcr.jam.ConnectionWrapperTask, service=oracle.webcenter.content.jcr.login, resource=WebCenterSpaces-UCM, isDone=false, requestedTimeoutPeriod=default, actualTimeoutPeriod=120000ms] (class=oracle.vcr.jam.ConnectionWrapperTask), submittedTime=1623867493852, stopRequestedTime=0, isHung=false] caught exception setting Application Security Context ID worker thread context.[[
java.security.AccessControlException: access denied ("oracle.security.jps.JpsPermission" "AppSecurityContext.setApplicationID.webcenter")
       at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
       at java.security.AccessController.checkPermission(AccessController.java:886)
       at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:536)
       ...

[<DATE_TIME>] [WC_Spaces] [ERROR] [WCS-67005] [oracle.webcenter.concurrent.Submission] [tid: pool-1-daemon-thread-4] [userId: <USER_ID>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] Submission[id=5, task=Task[class=oracle.vcr.jam.ConnectionWrapperTask, service=oracle.webcenter.content.jcr.login, resource=WebCenterSpaces-UCM, isDone=false, requestedTimeoutPeriod=default, actualTimeoutPeriod=120000ms], source=Task[class=oracle.vcr.jam.ConnectionWrapperTask, service=oracle.webcenter.content.jcr.login, resource=WebCenterSpaces-UCM, isDone=false, requestedTimeoutPeriod=default, actualTimeoutPeriod=120000ms] (class=oracle.vcr.jam.ConnectionWrapperTask), submittedTime=1623867493852, stopRequestedTime=0, isHung=false] caught exception running task: Task[class=oracle.vcr.jam.ConnectionWrapperTask, service=oracle.webcenter.content.jcr.login, resource=WebCenterSpaces-UCM, isDone=false, requestedTimeoutPeriod=default, actualTimeoutPeriod=120000ms].[[
java.lang.RuntimeException: Jun 16, 2021 2:18:17 PM oracle.webcenter.content.integration.spi.ucm.UCMBridge getServerEnvironment
SEVERE: Unable to retrieve server environment associated with repository WebCenterSpaces-UCM. When calling service GET_ENVIRONMENT, as user <USER_ID>, at timestamp <TIMESTAMP>, received status code -1.

       at oracle.webcenter.content.integration.spi.ucm.UCMBridge.getServerEnvironment(UCMBridge.java:2172)
       at oracle.webcenter.content.integration.spi.ucm.UCMBridge.access$100(UCMBridge.java:55)
       at oracle.webcenter.content.integration.spi.ucm.UCMBridge$1.run(UCMBridge.java:1878)
       ...

Caused by: oracle.stellent.ridc.protocol.ServiceException: Unable to load environment. Insufficient rights to access.
       at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:146)
       at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:112)
       at oracle.webcenter.doclib.core.WCPServiceResponse.getResponseAsBinder(WCPServiceResponse.java:87)
       ...

[<DATE_TIME>] [WC_Spaces] [ERROR] [] [oracle.webcenter.content.integration.RepositoryException] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USER_ID>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [[
oracle.webcenter.content.integration.RepositoryException: java.lang.RuntimeException: <TIMESTAMP> oracle.webcenter.content.integration.spi.ucm.UCMBridge getServerEnvironment
SEVERE: Unable to retrieve server environment associated with repository WebCenterSpaces-UCM. When calling service GET_ENVIRONMENT, as user <USER_ID>, at timestamp <TIMESTAMP>, received status code -1.

      at oracle.webcenter.content.internal.stellent.VCRConfigProvider.executeTask(VCRConfigProvider.java:70)
      at oracle.webcenter.content.integration.spi.ucm.UCMBridge.connectToServer(UCMBridge.java:1900)
      at oracle.webcenter.content.integration.spi.ucm.UCMBridge.getBridge(UCMBridge.java:344)
      ...

 
STEPS

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

  1. Run the upgradeWebCenterPortal command to upgrade WebCenter Portal from 11g to 12c. 
     
  2. Review the upgrade logs and see error:
     
    [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

      
     
  3. Review the spaces managed server diagnostic log and see:

    "LDAP Error 2 : simple bind failed: <LDAP_HOST>:<LDAP_SSL_PORT>" 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.