[jboss-jira] [JBoss JIRA] (AS7-2085) Error with ldap ( also happens with spring ldap)

jygnash ra (Created) (JIRA) jira-events at lists.jboss.org
Wed Oct 12 15:06:15 EDT 2011


Error with ldap ( also happens with spring ldap)
------------------------------------------------

                 Key: AS7-2085
                 URL: https://issues.jboss.org/browse/AS7-2085
             Project: Application Server 7
          Issue Type: Bug
          Components: Naming
    Affects Versions: 7.0.2.Final
         Environment: Linux (mint) / Windows 7 , with sun jdk 1.6
            Reporter: jygnash ra
            Assignee: John Bailey
            Priority: Blocker


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


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list