[
https://issues.jboss.org/browse/WFLY-3455?page=com.atlassian.jira.plugin....
]
Stuart Douglas closed WFLY-3455.
--------------------------------
Resolution: Rejected
EJB's are not resolved across applications. You need to specify the global JNDI name
of the ejb, e.g. @EJB(lookup="java:global/myapp/mymodule/MyEjb")
JBAS014544: No EJB found with interface of type
-----------------------------------------------
Key: WFLY-3455
URL:
https://issues.jboss.org/browse/WFLY-3455
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: EJB
Affects Versions: 8.1.0.Final
Environment: Ubuntu 14.04 LTS: Linux blackbox 3.13.0-27-generic #50-Ubuntu SMP
Thu May 15 18:06:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Java: java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
Reporter: Gregor Kovač
Assignee: Enrique González Martínez
Attachments: WildflyTest.zip
I have an EAR with an Stateless EJB that implements a Remote interface.
In another application (WAR) I access his EJB like this:
@EJB(beanInterface=RemoteBean.class) RemoteBean bean; When I deploy EAR I can see the JNDI
name of the EJB, but when I deploy WAR I get error: JBAS014544: No EJB found with
interface of type .....
I have attached an example application.
You can build it with Maven, deploy and see that error.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)