[jboss-jira] [JBoss JIRA] (AS7-3015) Global jndi binding via <jndi-bind> in jboss.xml does not work
Ondřej Chaloupka (Commented) (JIRA)
jira-events at lists.jboss.org
Wed Dec 14 12:21:09 EST 2011
[ https://issues.jboss.org/browse/AS7-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650975#comment-12650975 ]
Ondřej Chaloupka commented on AS7-3015:
---------------------------------------
Thank you for clarification (In fact I have already tried to use jboss-ejb3.xml how we talked about some time before just I didn't know that there is no support for jboss.xml in AS7 because the file still exists for some other tests in AS7 testsuite).
When I use jboss-ejb3.xml descriptor I have got
{noformat}
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[22,10]
59 Message: Unexpected element '{http://java.sun.com/xml/ns/javaee}jndi-name' encountered
{noformat}
Is possible to use <jndi-name> tag in way how it was used in AS5?
https://github.com/ochaloup/jboss-as/blob/JBQA-5483-test-migration-ejb2-reference/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/ejb2/reference/global/jboss-ejb3-global.xml
> 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