Posts tagged "CtxFactory"

LiveCycle ES: Cannot instantiate class com.sun.jndi.ldap.Ldap.CtxFactory


When you have migrated from LC7 to ES and you setup the LDAP Search component (with the refresh or build buttons), you receive the following error:

Cannot instantiate class com.sun.jndi.ldap.Ldap.CtxFactory


The initial_context_factory parameter (in the deployment settings of this component) has been changed during the migration process by mistake from null to com.sun.jndi.ldap.Ldap.CtxFactory.

Change this parameter to the correct value: com.sun.jndi.ldap.LdapCtxFactory.

Additional information

When a null value was used in LiveCycle 7, the server interpreted it as com.sun.jndi.ldap.LdapCtxFactory by default.  This no longer happens in LiveCycle ES, so you cannot use null values for this parameter.

More information about the mapping of the LDAP Search component in LiveCycle ES can be found under:

reference: (181280535)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 5.5/10 (2 votes cast)