When starting EAP with config specified by relative path like:
./jboss-eap-8.0/bin/standalone.sh -c ../../docs/examples/configs/standalone-jts.xml
then it fails with:
09:54:31,565 INFO [org.jboss.modules] (main) JBoss Modules version 2.1.0.Final-redhat-00001 java.lang.IllegalStateException: WFLYCTL0214: Could not load configuration file: ../../docs/examples/configs/standalone-jts.xml. The configuration file argument must specify the path to a file located in the configuration directory. The path must be a relative path, and must be relative to the configuration directory /home/mnovak/tmp/jboss-eap-8.0/standalone/configuration. at org.jboss.as.controller@21.0.5.Final-redhat-00001//org.jboss.as.controller.persistence.ConfigurationFile.determineMainFile(ConfigurationFile.java:387) at org.jboss.as.controller@21.0.5.Final-redhat-00001//org.jboss.as.controller.persistence.ConfigurationFile.<init>(ConfigurationFile.java:207) at org.jboss.as.server@21.0.5.Final-redhat-00001//org.jboss.as.server.ServerEnvironment.<init>(ServerEnvironment.java:508) at org.jboss.as.server@21.0.5.Final-redhat-00001//org.jboss.as.server.Main.determineEnvironment(Main.java:416) at org.jboss.as.server@21.0.5.Final-redhat-00001//org.jboss.as.server.Main.main(Main.java:96) at org.jboss.modules.Module.run(Module.java:353) at org.jboss.modules.Module.run(Module.java:321) at org.jboss.modules.Main.main(Main.java:604) 09:54:31,713 FATAL [org.jboss.as.server] (main) WFLYSRV0239: Aborting with exit code 1
There is the same failure on EAP 7.4.17 but works with EAP 7.4.0.
- is cloned by
-
JBEAP-27617 [QE](7.4.z) Starting with relative path to standalone xml config fails
- Closed