-
Bug
-
Resolution: Done
-
Major
-
7.4.0.GA
-
-
-
-
-
-
+
-
Workaround Exists
-
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 is newly problematic for EAP 7.4, where the Infinispan APIs are public.
Thus, users attempting to inject, for example, a server managed cache into a CDI bean will fail during runtime.
e.g.
@Resource(lookup="java:jboss/infinispan/cache/foo/bar") private Cache<?, ?> cache;
- clones
-
WFLY-11817 CDI @Resource(lookup=...) processing does not start corresponding binder service
- Closed