Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2598

PathManager capability registration not available to resources

    Details

      Description

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  brian.stansberry Brian Stansberry
                  Reporter:
                  pferraro Paul Ferraro
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: