My Oracle Support Banner

Creating OID DIP Synchronization Profile Fails with "Error while disassociating the sync profile from ConnectorGroup." (Doc ID 1620845.1)

Last updated on FEBRUARY 20, 2024

Applies to:

Oracle Internet Directory - Version 11.1.1 and later
Information in this document applies to any platform.

Symptoms

OID 12c Scenario:

Creating a synchronization profile in Directory Integration Platform (DIP) with Oracle Internet Directory (OID) backend fails with:

javax.management.MBeanException: Error while disassociating the sync profile from ConnectorGroup
at oracle.idm.integration.sync.profile.SyncProfile<profile.disassociateFromConnectorGroup(SyncProfile<profile.java:3394)
at oracle.idm.integration.sync.profile.SyncProfile<profile.delete(SyncProfile<profile.java:2287)
at oracle.idm.integration.bean.SyncProfileBean.storeFromMemory(SyncProfileBean.java:1505)
at oracle.idm.integration.bean.SyncProfileBean.storeFromMemory(SyncProfileBean.java:1412)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doInvoke(OracleStandardEmitterMBean.java:918)
at oracle.adf.mbean.share.AdfMBeanInterceptor.internalInvoke(AdfMBeanInterceptor.java:103)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalInvoke(AbstractMBeanSecurityInterceptor.java:192)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor$2.run(JpsJmxInterceptor.java:423) at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:650)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalInvoke(JpsJmxInterceptor.java:442)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
...<etc>...

DIP wls_ods1-diagnostic.log shows:

...<snip>...
[2022-09-15T16:23:28.054+00:00] [wls_ods1] [ERROR] [] [oracle.dip.mbean.sync] [tid: SyncProfileMBean] [userId: <userid>] [ecid: <ecid>] [APP: DIP] [partition-name: DOMAIN] [tenant-name: GLOBAL] Exception while retrieving profile name <numeric string>.
[2022-09-15T16:23:28.095+00:00] [wls_ods1] [NOTIFICATION] [EVENT_NOT_ENABLED] [oracle.dip] [tid: SyncProfileMBean] [userId: <userid>] [ecid: <ecid>] [APP: DIP] [partition-name: DOMAIN] [tenant-name: GLOBAL]
[2022-09-15T16:23:28.095+00:00] [wls_ods1] [NOTIFICATION] [EVENT_NOT_ENABLED] [oracle.dip] [tid: SyncProfileMBean] [userId: <userid>] [ecid: <ecid>] [APP: DIP] [partition-name: DOMAIN] [tenant-name: GLOBAL]
[2022-09-15T16:23:28.114+00:00] [wls_ods1] [NOTIFICATION] [EVENT_NOT_ENABLED] [oracle.dip] [tid: SyncProfileMBean] [userId: <userid>] [ecid: <ecid>] [APP: DIP] [partition-name: DOMAIN] [tenant-name: GLOBAL]
[2022-09-15T16:23:28.166+00:00] [wls_ods1] [ERROR] [DIP-85003] [oracle.dip.mbean.sync] [tid: SyncProfileMBean] [userId: <userid>] [ecid: <ecid>] [APP: DIP] [partition-name: DOMAIN] [tenant-name: GLOBAL] Error retrieving attributes from the directory server.[[
java.lang.NullPointerException
    at oracle.idm.integration.sync.profile.SyncProfile<profile>.getOIDRootRealm(SyncProfile<profile>.java:5397)
    at oracle.idm.integration.sync.profile.SyncProfile<profile>.getOIDDefaultUserContainer(SyncProfile<profile>.java:5382)
    at oracle.idm.integration.sync.profile.SyncProfile<profile>.getBackendUserContainer(SyncProfile<profile>.java:5376)
    at oracle.idm.integration.sync.profile.SyncProfile<profile>.getDefaultMappingRules(SyncProfile<profile>.java:4867)
    at oracle.idm.integration.sync.profile.SyncProfile<profile>.populateDefault(SyncProfile<profile>.java:5192)
    at oracle.idm.integration.bean.SyncProfileBean.storeFromMemory(SyncProfileBean.java:1453)
    at oracle.idm.integration.bean.SyncProfileBean.storeFromMemory(SyncProfileBean.java:1412)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doInvoke(OracleStandardEmitterMBean.java:918)
    at oracle.adf.mbean.share.AdfMBeanInterceptor.internalInvoke(AdfMBeanInterceptor.java:103)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
    at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalInvoke(AbstractMBeanSecurityInterceptor.java:192)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
    at oracle.security.jps.ee.jmx.JpsJmxInterceptor$2.run(JpsJmxInterceptor.java:423)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:650)
    at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalInvoke(JpsJmxInterceptor.java:442)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
    at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalInvoke(ContextClassLoaderMBeanInterceptor.java:100)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
    at oracle.as.jmx.framework.generic.spi.interceptors.MBeanRestartInterceptor.internalInvoke(MBeanRestartInterceptor.java:116)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
    at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.invoke(OracleStandardEmitterMBean.java:834)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$21.run(WLSMBeanServerInterceptorBase.java:589)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:587)
    at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:249)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$21.run(WLSMBeanServerInterceptorBase.java:589)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:587)
    at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:439)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$21.run(WLSMBeanServerInterceptorBase.java:589)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:587)
    at weblogic.management.mbeanservers.internal.MBeanCICInterceptor.access$401(MBeanCICInterceptor.java:38)
    at weblogic.management.mbeanservers.internal.MBeanCICInterceptor$4.call(MBeanCICInterceptor.java:299)
    at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:287)
    at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:272)
    at weblogic.management.mbeanservers.internal.MBeanCICInterceptor.invoke(MBeanCICInterceptor.java:295)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$21.run(WLSMBeanServerInterceptorBase.java:589)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:587)
    at weblogic.management.mbeanservers.internal.PartitionJMXInterceptor.invoke(PartitionJMXInterceptor.java:435)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$21.run(WLSMBeanServerInterceptorBase.java:589)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:587)
    at weblogic.management.mbeanservers.internal.CallerPartitionContextInterceptor.invoke(CallerPartitionContextInterceptor.java:217)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:327)
    at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:655)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:653)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:386)
    at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:646)
    at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
    at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
    at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408)
    at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
    at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:645)
    at weblogic.rmi.internal.BasicServerRef$2.run(BasicServerRef.java:534)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:386)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:163)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:531)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:138)
    at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
    at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
    at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
    at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
    at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)

]]
[2022-09-15T16:23:28.180+00:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [tid: SyncProfileMBean] [userId: <userid>] [ecid: <ecid>] [APP: DIP] [partition-name: DOMAIN] [tenant-name: GLOBAL] Retrieving all groups...
[2022-09-15T16:23:28.181+00:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [tid: SyncProfileMBean] [userId: <userid>] [ecid: <ecid>] [APP: DIP] [partition-name: DOMAIN] [tenant-name: GLOBAL] Retrieved all groups successfully...
[2022-09-15T16:23:28.181+00:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [tid: SyncProfileMBean] [userId: <userid>] [ecid: <ecid>] [APP: DIP] [partition-name: DOMAIN] [tenant-name: GLOBAL] Disassociating profile from the connector...
[2022-09-15T16:23:28.182+00:00] [wls_ods1] [ERROR] [] [oracle.dip] [tid: SyncProfileMBean] [userId: <userid>] [ecid: <ecid>] [APP: DIP] [partition-name: DOMAIN] [tenant-name: GLOBAL] orclodipagentname=testing,cn=subscriber profile,cn=changelog subscriber,cn=oracle internet directory is not associated to group defaultgroup
[2022-09-15T16:23:28.201+00:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [tid: SyncProfileMBean] [userId: <userid>] [ecid: <ecid>] [APP: DIP] [partition-name: DOMAIN] [tenant-name: GLOBAL] Retrieving all groups...
[2022-09-15T16:23:28.202+00:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [tid: SyncProfileMBean] [userId: <userid>] [ecid: <ecid>] [APP: DIP] [partition-name: DOMAIN] [tenant-name: GLOBAL] Retrieved all groups successfully...
[2022-09-15T16:23:28.202+00:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [tid: SyncProfileMBean] [userId: <userid>] [ecid: <ecid>] [APP: DIP] [partition-name: DOMAIN] [tenant-name: GLOBAL] Disassociating profile from the connector...
...<snip>...

 

OID 11g Scenario:

Installed Oracle Internet Directory (OID) 11g, for example as per the following Note:

How to Perform a New Installation of Fusion Middleware 11.1.1.7 And Oracle Portal 11.1.1.6 With Oracle Access Management 11.1.2.1+ as Single Sign-On Solution ? <Document 1561436.1>

Now trying to create an Active Directory (AD) to OID Directory Integration Platform (DIP) sync profile fails with a trace message error when trying to save the profile:

Error while disassociating the sync profile from ConnectorGroup.

Additional trace messages shown include:

...<snip>...
[2014-01-22T15:23:02.737-06:00] [wls_ods1] [NOTIFICATION] [EVENT_NOT_ENABLED] [oracle.dip] [host: <HOSTNAME>] [nwaddr: <IP_ADDRESS>] [tid: SyncProfileMBean] [userId: <WLS_ADMIN_USER>] [ecid: <ECID>] [APP: DIP#11.1.1.2.0]
[2014-01-22T15:23:02.860-06:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [host: <HOSTNAME>] [nwaddr: <IP_ADDRESS>] [tid: SyncProfileMBean] [userId: <WLS_ADMIN_USER>] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Retriving all groups...
[2014-01-22T15:23:02.863-06:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip][host: <HOSTNAME>] [nwaddr: <IP_ADDRESS>] [tid: SyncProfileMBean] [userId: <WLS_ADMIN_USER>] [ecid: <ECID>][APP: DIP#11.1.1.2.0] Dissociating profile from the connector...
[2014-01-22T15:23:02.863-06:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [host: <HOSTNAME>] [nwaddr: <IP_ADDRESS>] [tid: SyncProfileMBean] [userId: <WLS_ADMIN_USER>] [ecid: <ECID>][APP: DIP#11.1.1.2.0] Retrived all groups successfully...
[2014-01-22T15:23:02.866-06:00] [wls_ods1] [ERROR] [] [oracle.dip][host: <HOSTNAME>] [nwaddr: <IP_ADDRESS>] [tid: SyncProfileMBean] [userId: <WLS_ADMIN_USER>] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] orclodipagentname=<PROFILE_NAME>,cn=subscriber profile,cn=changelog subscriber,cn=oracle internet directory is not associated to group defaultgroup
[2014-01-22T15:23:02.958-06:00] [wls_ods1] [ERROR] [] [oracle.dip.mbean.sync] [host: <HOSTNAME>] [nwaddr: <IP_ADDRESS>] [tid: SyncProfileMBean] [userId: <WLS_ADMIN_USER>] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Exception while retrieving profile name <PROFILE_NAME>.
...<snip>...


The issue can be reproduced at will with the following steps:
1. Login to Enterprise Manager (EM) Fusion Middleware (FMW) Control console for OID.
2. Select Identity and Access, then DIP.
3. Select Administration from DIP menu > Synchronization Profiles, then click Create and fill out the connection information.
4. Clicking the "Test Connection" button works fine at this point.
5. Click Ok to save the profile, and the "Error while disassociating the sync profile from ConnectorGroup" is returned in the trace message.

Tried Note "manageSyncProfiles Command Fails with Error "Profile is Not Associated to a Group" <Document 1302606.1>" but the same error persists.

The DIP wls_ods1-diagnostic.log log file shows:

...<snip>...
[2014-01-22T16:56:27.262-06:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [tid: SyncProfileMBean] [userId: xxxxxx] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Retriving all groups...
[2014-01-22T16:56:27.267-06:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [tid: SyncProfileMBean] [userId: xxxxxx] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Retrived all groups successfully...
[2014-01-22T16:56:27.268-06:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [tid: SyncProfileMBean] [userId: xxxxx] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Dissociating profile from the connector...
[2014-01-22T16:56:27.270-06:00] [wls_ods1] [ERROR] [] [oracle.dip] [tid: SyncProfileMBean] [userId: xxxxx] [ecid:<ECID>] [APP: DIP#11.1.1.2.0] orclodipagentname=<PROFILE_NAME>,cn=subscriber profile,cn=changelog subscriber,cn=oracle internet directory is not associated to group defaultgroup
[2014-01-22T16:56:27.340-06:00] [wls_ods1] [ERROR] [] [oracle.dip.mbean.sync] [tid: SyncProfileMBean] [userId: xxxxx] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Exception while retrieving profile name <PROFILE_NAME>.
[2014-01-22T16:56:30.169-06:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [tid: <PROVISIONING_PROFILE>_E] [userId: ] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] End of Execution
[2014-01-22T16:57:18.062-06:00] [wls_ods1] [NOTIFICATION] [] [oracle.dip] [tid: UpdateThread] [userId: ] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Changelog Filter : (&(changenumber>=54514)(targetdn=*cn=subscriber profile,cn=changelog subscriber,cn=oracle internet directory))
[2014-01-22T16:57:18.075-06:00] [wls_ods1] [ERROR] [DIP-10527] [oracle.dip] [tid: UpdateThread] [userId: ] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Unable to update the changes made in synchronization profile.[[
javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'orclodipagentname=<PROFILE_NAME>,cn=subscriber profile,cn=changelog subscriber,cn=oracle internet directory'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3092)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3013)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2820)
at com.sun.jndi.ldap.LdapCtx.c_getAttributes(LdapCtx.java:1312)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(ComponentDirContext.java:213)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:121)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:109)
at javax.naming.directory.InitialDirContext.getAttributes(InitialDirContext.java:123)
at javax.naming.directory.InitialDirContext.getAttributes(InitialDirContext.java:118)
at oracle.ldap.odip.web.UpdateJobBean.updateChangesForSync(UpdateJobBean.java:243)
at oracle.ldap.odip.web.UpdateJob_rfgptc_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at oracle.ldap.odip.web.UpdateJob_rfgptc_EOImpl.updateChangesForSync(Unknown Source)
at oracle.ldap.odip.web.UpdateJobQuartzImpl.execute(UpdateJobQuartzImpl.java:234)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)

]]
...<snip>...



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.