Use of relative-to in path in domain mode prevents the server from starting

Solution Verified - Updated -

Issue

  • Error WFLYCTL0362: Capabilities required by resource x are not available.
  • Use of relative-to in path in domain mode prevents the server from starting with the following error:

    [Host Controller] 13:28:05,730 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource '/path=apps.log.dir' are not available: 
    [Host Controller] org.wildfly.management.path.jboss.domain.base.dir in context 'global'; Possible registration points for this capability: 
    [Host Controller] /host=master/path=* 
    [Host Controller] /host=master/server-config=*/path=* 
    [Host Controller] /path=*
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.1.0
  • domain.xml/host.xml configuration:

    <paths>
        <path name="apps.log.dir" path="/apps/logs" relative-to="jboss.domain.base.dir"/>
    </paths>
    

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