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

@Resource ManagedExecutorService produces a null field

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.0.0.Beta1
    • 8.0.0.Alpha4
    • CDI / Weld
    • 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

            emartins@redhat.com Eduardo Martins
            juergen.zimmermann Juergen Zimmermann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: