OID 11g Provsubtool Fails with Java.lang.NoClassDefFoundError Oracle/dms/context/ExecutionContext (Doc ID 2146325.1)

Last updated on JUNE 06, 2016

Applies to:

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

Symptoms

On : 11.1.1.9.2 version, LDAP Tools

provsubtool java.lang.NoClassDefFoundError oracle/dms/context/ExecutionContext

Attempting to run OID 11.1.1.9.2 provsubtool to add OID users to DIP subscription list fails with:


$ORACLE_HOME/bin/provsubtool bind_dn="cn=orcladmin" bind_pwd="<pwd>" ldap_host=<host> ldap_port=3060 app_dn="orclApplicationCommonName=dev123,cn=EBusiness,cn=Products,cn=OracleContext,dc=company,dc=com" realm_dn="dc=company,dc=com" operation=ADD file_name="addsubscription.lst" file_type=1
Starting ..
Validated Arguments ..
Connecting to OID as :cn=orcladmin
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/dms/context/ExecutionContext
at oracle.ldap.odip.prov.ProvUpdSubscriptionList.main(ProvUpdSubscriptionList.java:506)
Caused by: java.lang.ClassNotFoundException: oracle.dms.context.ExecutionContext
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 1 more


ERROR
-----------------------
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/dms/context/ExecutionContext

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