Hide Forgot
Description of problem: When creating File Handler child resource for Logging subsystem via Create Resource Wizard and setting file Path with using "relative to" option and choosing file path prefix the error message does not contain full wrong path to file but just file path prefix. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1) In JON UI go to Server - Top Level imports-> EAP7 standalone Servers -> EAP7 -> Subsystems -> Core -> logging -> Create Child -> File Handler .. 2) Set properties in Resource Create Wizard.. File Path: standalone/logs/server.log Relative To: jboss.domain.servers.dir Actual results: WFLYCTL0158: Operation handler failed: java.lang.IllegalArgumentException: WFLYCTL0256: Could not find a path called 'jboss.domain.servers.dir', rolled-back=true Expected results: WFLYCTL0158: Operation handler failed: java.lang.IllegalArgumentException: WFLYCTL0256: Could not find a path called 'jboss.domain.servers.dir/standalone/logs/server.log', rolled-back=true Additional info:
The error message is fine, EAP7 is complaining that couldn't find "jboss.domain.servers.dir", that's because that path is only present on domain mode. jboss.domain.servers.dir - directory under which a host controller will create the working area for individual server instances.
commit 89c130d329a7c2bac0c2bf5b771d6dc6e3e5df3d Author: Josejulio Martínez <jmartine> Date: Thu Apr 14 17:07:45 2016 -0500 Bug 1326659 - Cleaned relative-to option values.