-
Bug
-
Resolution: Done
-
Major
-
3.0.0.Beta11
-
None
When attempting to add a requirement on the PathManager capability to a capability registered with some resource, e.g.
RuntimeCapability<Void> MY_CAPABILITY = RuntimeCapability.Builder.of("foo").addRequirements("org.wildfly.management.path-manager").build();
I get the following error during boot:
16:30:55,229 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource '/subsystem=infinispan/cache-container=web/distributed-cache=dist/store=file' are not available:
org.wildfly.management.path-manager; There are no known registration points which can provide this capability.
It seems like this capability registration isn't available to subsystem resources.
Here's the real world use case:
https://github.com/pferraro/wildfly/commit/d5a00ecb6975137e40848b45abfc668c513e849f
See org.jboss.as.clustering.infinispan.subsystem.FileStoreResourceDefinition
- blocks
-
WFLY-8446 Infinispan store=file resource needs capability references for path resolution
- Closed