[jboss-jira] [JBoss JIRA] (WFLY-261) Add way to properly parse JNDI urls in AS codebase

Bartosz Baranowski (JIRA) jira-events at lists.jboss.org
Thu Sep 19 04:42:04 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805718#comment-12805718 ] 

Bartosz Baranowski commented on WFLY-261:
-----------------------------------------

AS7 hijacks Contxt.lookup, preventing JDK code from URL magic. As one of side effects, javax.naming.Name is not properly formed, since AS7 relies on CompositeName, which does not properly parse all JNDI names.
                
> Add way to properly parse JNDI urls in AS codebase
> --------------------------------------------------
>
>                 Key: WFLY-261
>                 URL: https://issues.jboss.org/browse/WFLY-261
>             Project: WildFly
>          Issue Type: Feature Request
>          Components: Naming
>            Reporter: Bartosz Baranowski
>            Assignee: Bartosz Baranowski
>             Fix For: 8.0.0.Beta1
>
>
> This is a followup of  AS7-2138. Original code, in case no URL context threw NamingException. The  AS7-2138  introduced a fallback to NamingContext in case AS7 does not provide custom hack for url( like EJB ). However the fallback did not fail with NamingException in case it did not locate Context. This essentially made it go knee deep into AS7 service lookups, which hides real cause of failure.

--
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