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

David Wery (Updated) (JIRA) jira-events at lists.jboss.org
Tue Nov 8 05:02:46 EST 2011


     [ https://issues.jboss.org/browse/AS7-2085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Wery updated AS7-2085:
----------------------------

    Attachment: springldap-jbossas7.tgz


Here is a sample application. 

This is a very simple web application with a login page. All you need to configure is located in the ldap.properties file (ldap server url, username and password).

Feel free to contact me if needed.

David
                
> 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
>              Labels: jboss7, ldap, spring, springldap
>         Attachments: springldap-jbossas7.tgz
>
>
> 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