2 Replies Latest reply: Mar 27, 2013 8:00 AM by adr RSS

    OIM11gR1 - LdapSync - wlst.sh - listAdapters(contextName='oim')

    adr
      Hello,

      I'm trying to list my LdapSync adapters through wlst.sh
      According to the documentation I should use the following command:

      listAdapters(contextName='oim')

      But I get the following error:

      -----
      wls:/oim_domain/domainRuntime> listAdapters(contextName='oim')
      Traceback (innermost last):
      File "<console>", line 1, in ?
      File "/application/Oracle/Middleware/oracle_common/common/wlst/OracleLibOVD.py", line 62, in listAdapters
      File "/application/Oracle/Middleware/oracle_common/common/script_handlers/OracleLibOVD_handler.py", line 166, in listAdapters
      File "/application/Oracle/Middleware/oracle_common/common/wlst/lib/ora_mbs.py", line 56, in invoke
      at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
      at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
      at javax.management.remote.rmi.RMIConnectionImpl_1035_WLStub.invoke(Unknown Source)
      at weblogic.management.remote.common.RMIConnectionWrapper$16.run(ClientProviderBase.java:919)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
      at weblogic.security.Security.runAs(Security.java:61)
      at weblogic.management.remote.common.RMIConnectionWrapper.invoke(ClientProviderBase.java:917)
      at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:995)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)

      javax.management.InstanceNotFoundException: javax.management.InstanceNotFoundException: com.oracle:type=OVD,context=oim,name=AdaptersConfig
      -----

      This same command works in another environment.
      It seems that the value for the parameter context should be another value then 'oim'
      How to figure out the correct value for for the parameter contextName* for my other environment?*

      Thanks,
      Adr