Skip to Content

issue with ldap adapter in SAP HCI at receiver side.

  • Hi All,

I am trying to insert a single record in ldap directory using below schema:

  • <?xml version=”1.0″ encoding=”UTF-8″?>
  • <Schema>
  • <DistinguishedName>..</DistinguishedName>
  • <Attributes>
  • <cn>…</cn>
  • <sAMAccountName>…</sAMAccountName>
  • <sn>…</sn>
  • <givenName>…</givenName>
  • <displayName>…</displayName>
  • </Attributes>
  • </Schema>

Below is the exception I am getting :

java.lang.IllegalStateException: LDAP Adapter Fails due to: Uncategorized exception occured during LDAP processing; nested exception is javax.naming.NamingException: Error while attempting to resolve reference [Root exception is javax.naming.NamingException: Exception occurred while trying to resolve object using ObjectFactory search [Root exception is com.sap.core.connectivity.api.DestinationException: Internal problem, Reference from type “com.sap.core.connectivity.api.http.HttpDestination” or “com.sap.core.connectivity.api.DestinationFactory” expected, but the object is: javax.naming.directory.DirContext. Please edit your web.xml or ejb-jar.xml or the type in your annotation.]], cause: com.sap.core.connectivity.api.DestinationException: Internal problem, Reference from type “com.sap.core.connectivity.api.http.HttpDestination” or “com.sap.core.connectivity.api.DestinationFactory” expected, but the object is: javax.naming.directory.DirContext. Please edit your web.xml or ejb-jar.xml or the type in your annotation.

Please help if anyone has idea regarding this.

Thanks,

RajKumar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 06, 2017 at 04:08 PM

    Raj Kumar

    Were you able to resolve this issue. Can you please provide insights. I'm running into same issue at my client.

    Thanks,

    -Bhargav

    Add comment
    10|10000 characters needed characters exceeded