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

@Resource ManagedExecutorService produces a null field

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 8.0.0.Alpha4
    • 8.0.0.Beta1
    • 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 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: