[jboss-jira] [JBoss JIRA] (AS7-3015) Global jndi binding via <jndi-bind> in jboss.xml does not work

jaikiran pai (Commented) (JIRA) jira-events at lists.jboss.org
Thu Dec 15 05:00:09 EST 2011


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

jaikiran pai commented on AS7-3015:
-----------------------------------

Okay,I looked at the descriptor in more detail now. In AS7 we no longer support binding to custom JNDI names for EJBs. So the beans are always bound to the spec mandated java:global, java:app and java:module namespaces. The <jndi-name> for the session bean element is no longer supported.

                
> Global jndi binding via <jndi-bind> in jboss.xml does not work
> --------------------------------------------------------------
>
>                 Key: AS7-3015
>                 URL: https://issues.jboss.org/browse/AS7-3015
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: EJB
>            Reporter: Ondřej Chaloupka
>            Assignee: John Bailey
>            Priority: Minor
>
> Binding jndi name via tag <jndi-name> specified in jboss.xml does not work.
> {code:xml}
>    <enterprise-beans>
>       <session>
>          <ejb-name>Session21</ejb-name>
>          <jndi-name>Session21Remote</jndi-name>
>       </session>
>    </enterprise-beans>
> {code}
> The test for this could be found on: https://github.com/ochaloup/jboss-as/tree/JBQA-5483-test-migration-ejb2-reference/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/ejb2/ejb3refer
> (But I'm not sure whether this functionality is planned for AS7.)

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