[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:20:02 EST 2019


     [ https://issues.jboss.org/browse/WFLY-11817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Ferraro updated WFLY-11817:
--------------------------------
    Description: 
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.
The ee subsystem processes @Resource(lookup=...) correctly by establishing a dependency on the corresponding binder service.

  was:
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.



> 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
>            Priority: Major
>
> 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.
> The ee subsystem processes @Resource(lookup=...) correctly by establishing 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