[jboss-jira] [JBoss JIRA] (WFLY-7140) Injection with @EJB is not working as expected with CDI (REST) beans

RH Bugzilla Integration (JIRA) issues at jboss.org
Wed Nov 16 04:08:00 EST 2016


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

RH Bugzilla Integration commented on WFLY-7140:
-----------------------------------------------

Petr Jurak <pjurak at redhat.com> changed the Status of [bug 1377705|https://bugzilla.redhat.com/show_bug.cgi?id=1377705] from NEW to ASSIGNED

> Injection with @EJB is not working as expected with CDI (REST) beans
> --------------------------------------------------------------------
>
>                 Key: WFLY-7140
>                 URL: https://issues.jboss.org/browse/WFLY-7140
>             Project: WildFly
>          Issue Type: Bug
>          Components: CDI / Weld, EJB
>            Reporter: Wolf-Dieter Fink
>            Assignee: Tomas Remes
>             Fix For: 11.0.0.Alpha1
>
>
> The injection with @EJB should work the same way in a Rest service (CDI Bean) as it does in a Servlet.
> @EJB(lookup = "ejb:jboss-ejb-multi-server-app-one/ejb/AppOneBean!org.jboss.as.quickstarts.ejb.multi.server.app.AppOne")
> is not working correct if used in a CDI Bean in the reproducer example.
> Reproducer can be found here:
>     git at github.com:wfink/jboss-eap-quickstarts.git
>     BRANCH: 6.4.x_ejb-multi-server_reproducerEJB-injection
>     SubProject: ejb-multi-server  (used only a part of it to have a web-app and a ejb-app)
>                       see ejb-multi-server/README-reproducerEJB-injection



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list