WFLYCTL0362: Capabilities required by resource when JBoss EAP 7 domain profile include another profile

Solution Verified - Updated -

Issue

  • We are using a base profile which gets included in full-ha profile such as:
     ...
     <profile name="full-ha" includes="base-full-ha">
            ...
            <subsystem xmlns="urn:jboss:domain:jgroups:7.0">
            ...
            <subsystem xmlns="urn:jboss:domain:infinispan:9.0">
            ...
        <profile name="base-full-ha">
            ...
            <subsystem xmlns="urn:jboss:domain:messaging-activemq:8.0">
            ...
     ...

Domain mode fails to start in EAP 7.1 with the following error message when a profile extension is used:

...
WFLYCTL0362: Capabilities required by resource '/profile=temp-full-ha/subsystem=infinispan/cache-container=hibernate/transport=jgroups' are not available: [Host Controller] org.wildfly.clustering.jgroups.default-channel-factory in context 'profile=temp-full-ha'; Possible registration points for this capability: [Host Controller] /profile=*/subsystem=jgroups [Host Controller]
WFLYCTL0362: Capabilities required by resource '/profile=temp-full-ha/subsystem=messaging-activemq/server=default/broadcast-group=bg-group1' are not available: [Host Controller] org.wildfly.clustering.jgroups.default-channel-factory in context 'profile=temp-full-ha'; Possible registration points for this capability: [Host Controller] /profile=*/subsystem=jgroups [Host Controller]
WFLYCTL0362: Capabilities required by resource '/profile=temp-full-ha/subsystem=infinispan/cache-container=web/transport=jgroups' are not available: [Host Controller] org.wildfly.clustering.jgroups.default-channel-factory in context 'profile=temp-full-ha'; Possible registration points for this capability: [Host Controller] /profile=*/subsystem=jgroups [Host Controller]
WFLYCTL0362: Capabilities required by resource '/profile=temp-full-ha/subsystem=messaging-activemq/server=default/discovery-group=dg-group1' are not available: [Host Controller] org.wildfly.clustering.jgroups.default-channel-factory in context 'profile=temp-full-ha'; Possible registration points for this capability: [Host Controller] /profile=*/subsystem=jgroups [Host Controller]
WFLYCTL0362: Capabilities required by resource '/profile=temp-full-ha/subsystem=infinispan/cache-container=server/transport=jgroups' are not available: [Host Controller] org.wildfly.clustering.jgroups.default-channel-factory in context 'profile=temp-full-ha'; Possible registration points for this capability: [Host Controller] /profile=*/subsystem=jgroups [Host Controller]
WFLYCTL0362: Capabilities required by resource '/profile=temp-full-ha/subsystem=infinispan/cache-container=ejb/transport=jgroups' are not available: [Host Controller] org.wildfly.clustering.jgroups.default-channel-factory in context 'profile=temp-full-ha'; Possible registration points for this capability: [Host Controller] /profile=*/subsystem=jgroups [Host Controller]
...

In EAP 7.3 we get this error

WFLYCTL0362: Capabilities required by resource '/profile=base-full-ha/subsystem=singleton/singleton-policy=default' are not available:
    org.wildfly.clustering.cache.default-singleton-service-configurator-factory.server in context 'profile=base-full-ha'; Possible registration points for this capability: 
        /profile=*/subsystem=infinispan/cache-container=*
WFLYCTL0362: Capabilities required by resource '/profile=base-full-ha/subsystem=messaging-activemq/server=default/broadcast-group=bg-group1' are not available:
    org.wildfly.clustering.default-command-dispatcher-factory in context 'profile=base-full-ha'; Possible registration points for this capability: 
        /profile=*/subsystem=infinispan
        /profile=*/subsystem=jgroups
WFLYCTL0362: Capabilities required by resource '/profile=base-full-ha/subsystem=messaging-activemq/server=default/discovery-group=dg-group1' are not available:
    org.wildfly.clustering.default-command-dispatcher-factory in context 'profile=base-full-ha'; Possible registration points for this capability: 
        /profile=*/subsystem=infinispan
        /profile=*/subsystem=jgroups

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content