Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2085

Error with ldap ( also happens with spring ldap)

    XMLWordPrintable

    Details

      Description

      The code works fine on jboss5.1, but porting to jboss7 causes ObjectRetreivalException

      The problem started with SpringLdap 1.3
      Using the same configuration and code source available at ( (http://static.springsource.org/spring-ldap/docs/1.3.x/reference/html/introduction.html )

      gives following exception.
      org.springframework.ldap.core.ObjectRetrievalException: Binding did not contain any object.

      ---------------------------------------
      Without Springldap it gives the following exception
      Root exception is javax.naming.NotContextException: Cannot create context for: ldap://ForestDnsZones

      I am using the TraditionalPersonDAOImpl available on SpringLdap
      (http://static.springsource.org/spring-ldap/docs/1.3.x/reference/html/introduction.html )

      If i run the code as standalone java application it works fine. Also it works in jboss5.1

        Attachments

          Activity

            People

            Assignee:
            johnbailey John Bailey (Inactive)
            Reporter:
            jygnash jygnash ra (Inactive)
            Votes:
            8 Vote for this issue
            Watchers:
            11 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: