[
https://issues.jboss.org/browse/WFLY-1974?page=com.atlassian.jira.plugin....
]
jaikiran pai updated WFLY-1974:
-------------------------------
Assignee: Stuart Douglas (was: David Lloyd)
Component/s: CDI / Weld
(was: EE)
Changing the component to CDI, since the injection fails in a CDI bean (as noted in the
forum thread).
@Resource ManagedExecutorService produces a null field
------------------------------------------------------
Key: WFLY-1974
URL:
https://issues.jboss.org/browse/WFLY-1974
Project: WildFly
Issue Type: Bug
Components: CDI / Weld
Affects Versions: 8.0.0.Alpha4
Reporter: Juergen Zimmermann
Assignee: Stuart Douglas
I compiled the latest WildFly master and tried:
{code}
@Resource
private ManagedExecutorService managedExecutorService
{code}
However, the injected field managedExecutorService is null. This issue is gone when I
use:
{code}
@Resource(mappedName = "java:comp/DefaultManagedExecutorService")
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira