[
https://issues.jboss.org/browse/AS7-3015?page=com.atlassian.jira.plugin.s...
]
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-r...
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-r...
(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