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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.