Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1974

@Resource ManagedExecutorService produces a null field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 8.0.0.Alpha4
    • Fix Version/s: 8.0.0.Beta1
    • Component/s: CDI / Weld
    • Labels:
      None

      Description

      I compiled the latest WildFly master and tried:

      @Resource
      private ManagedExecutorService managedExecutorService
      

      However, the injected field managedExecutorService is null. This issue is gone when I use:

      @Resource(mappedName = "java:comp/DefaultManagedExecutorService")
      

        Attachments

          Activity

            People

            Assignee:
            emmartins Eduardo Martins
            Reporter:
            juergen.zimmermann Juergen Zimmermann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: