Issue

When you use the LDAP Search component in LiveCycle ES and set up the component (with the refresh or build buttons), you receive the following error:

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

Solution

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 issue no longer happens in LiveCycle ES, so you cannot use null values for this parameter.

Questo prodotto è concesso in licenza in base alla licenza di Attribuzione-Non commerciale-Condividi allo stesso modo 3.0 Unported di Creative Commons.  I post su Twitter™ e Facebook non sono coperti dai termini di Creative Commons.

Note legali   |   Informativa sulla privacy online