[jboss-jira] [JBoss JIRA] (WFLY-11817) CDI @Resource(lookup=...) processing does not start corresponding binding service

Paul Ferraro (Jira) issues at jboss.org
Wed Mar 6 16:12:01 EST 2019


Paul Ferraro created WFLY-11817:
-----------------------------------

             Summary: CDI @Resource(lookup=...) processing does not start corresponding binding service
                 Key: WFLY-11817
                 URL: https://issues.jboss.org/browse/WFLY-11817
             Project: WildFly
          Issue Type: Bug
          Components: CDI / Weld
    Affects Versions: 16.0.0.Final
            Reporter: Paul Ferraro
            Assignee: Matej Novotny


If the corresponding binding service (the service responsible for creating the jndi binding) is not ACTIVE (e.g. clustering binding services are always PASSIVE) or, due to a race condition, has not yet started completely, a null value will be returned.
Compare this to the @Resource(lookup=...) processing in the ee subsystem, which correctly establishes a dependency on the corresponding binder service.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list