When attempting to add a requirement on the PathManager capability to a capability registered with some resource, e.g.
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: