[jboss-jira] [JBoss JIRA] (WFLY-7150) EJB injection with indirection via web.xml is ignored
RH Bugzilla Integration (JIRA)
issues at jboss.org
Mon Nov 28 09:45:00 EST 2016
[ https://issues.jboss.org/browse/WFLY-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13330272#comment-13330272 ]
RH Bugzilla Integration commented on WFLY-7150:
-----------------------------------------------
Petr Jurak <pjurak at redhat.com> changed the Status of [bug 1377705|https://bugzilla.redhat.com/show_bug.cgi?id=1377705] from ASSIGNED to POST
> EJB injection with indirection via web.xml is ignored
> -----------------------------------------------------
>
> Key: WFLY-7150
> URL: https://issues.jboss.org/browse/WFLY-7150
> Project: WildFly
> Issue Type: Bug
> Components: CDI / Weld, Web (Undertow)
> Reporter: Wolf-Dieter Fink
> Assignee: Stuart Douglas
> Fix For: 11.0.0.Alpha1
>
>
> If a web application contains a Servlet and a REST service (as CDI Bean) with an @EJB(lookup="java:comp/env/xxxx") injection for a indirection via web.xml/jboss-web.xml the CDI Bean will ignore it without any message whereas the Servlet inject the EJB proxy as expected.
> This approach is used to be able to change/adjust the target EJB by changing the DD and not the application code.
> Reproducer can be found here:
> git at github.com:wfink/jboss-eap-quickstarts.git
> BRANCH: 6.4.x_ejb-multi-server_reproducerEJB-injection2
> 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