5 Replies Latest reply: Jan 29, 2013 6:04 AM by idamGod RSS

    Not able to run LDAPSynch Post configuration script

    987113
      Hi,

      While running LDAPSyncPostConfig.sh I get the follwoing error. Apparently ojdk is missing in the classpath. Where can I find ojdk.jar? I can't find it here " $FMW_HOME/oracle_common/modules/oracle.odl_11.1.1/ojdk.jar".
      -----------------------------------------------------------------------------------------------------------------------------------------------------------------

      The exception I am getting ...................

      javax.naming.NoInitialContextException: Cannot instantiate class: oracle.ods.virtualization.jndi.OVDContextFactory [Root exception is java.lang.ClassNotFoundException: oracle.ods.virtualization.jndi.OVDContextFactory]
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
      at javax.naming.InitialContext.init(InitialContext.java:223)
      at javax.naming.InitialContext.<init>(InitialContext.java:197)
      at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82)
      at oracle.iam.platformservice.utils.LDAPConfigPostSetup.<init>(LDAPConfigPostSetup.java:150)
      at oracle.iam.platformservice.utils.LDAPConfigPostSetup.main(LDAPConfigPostSetup.java:106)
      Caused by: java.lang.ClassNotFoundException: oracle.ods.virtualization.jndi.OVDContextFactory
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:247)
      at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
      ... 6 more
      Unable to get either LDAP, OIM connection and reason is:Cannot instantiate class: oracle.ods.virtualization.jndi.OVDContextFactory