[
https://issues.jboss.org/browse/AS7-3181?page=com.atlassian.jira.plugin.s...
]
Stuart Douglas commented on AS7-3181:
-------------------------------------
Descriptor data overrides annotation resource injection, it is not merged with it.
Need to specify home interface with tag <home> when the
interface is already defined in @EJB annotation
-------------------------------------------------------------------------------------------------------
Key: AS7-3181
URL:
https://issues.jboss.org/browse/AS7-3181
Project: Application Server 7
Issue Type: Bug
Reporter: Ondřej Chaloupka
Assignee: Stuart Douglas
Priority: Minor
It's required to specify home interface with tag <home> when the interface is
already defined in @EJB annotation.
You can check my jboss-ejb3.xml:
https://github.com/ochaloup/jboss-as/blob/JBQA-5483-test-migration-ejb2re...
The name "injected" is defined via @EJB annotation in file:
https://github.com/ochaloup/jboss-as/blob/JBQA-5483-test-migration-ejb2re...
Without using the <home> tag the jar is not deployed and ended with error:
{code}
"Could not determine type of ejb-ref java:comp/env/injected for component
org.jboss.as.ejb3.component.stateless.StatelessComponentDescription".
{code}
--
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