Use of relative-to in path in domain mode prevents the server from starting
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>
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=*
Resolution
Apply the latest EAP Update. The issue was fixed in EAP 7.1 Update 3+ , but you should be on EAP 7.4 latest Update at this time.
Root Cause
SBR
Components
Category
Tags
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.