[jboss-jira] [JBoss JIRA] (WFLY-2878) LdapContext cannot be used

Eduardo Martins (JIRA) issues at jboss.org
Fri Feb 7 15:50:28 EST 2014


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

Eduardo Martins resolved WFLY-2878.
-----------------------------------

    Resolution: Out of Date


already fixed, see https://github.com/wildfly/wildfly/commit/eae592e621d970d44cfe005d564f53386414f505
                
> LdapContext cannot be used
> --------------------------
>
>                 Key: WFLY-2878
>                 URL: https://issues.jboss.org/browse/WFLY-2878
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Naming
>    Affects Versions: 8.0.0.CR1
>            Reporter: dfisher
>            Assignee: Eduardo Martins
>
> Wildfly installs a custom InitialContextFactoryBuilder which produces instances of {{org.jboss.as.naming.InitialContext}}.
> This InitialContext class extends {{javax.naming.directory.InitialDirContext}}.
> When code is deployed that invokes {{new InitialLdapContext(..)}} an error is produced:
> {code}
> javax.naming.NotContextException: Not an instance of LdapContext
> {code}
> Resolving this may be as simple as having {{org.jboss.as.naming.InitialContext}} extend {{javax.naming.ldap.InitialLdapContext}}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list