java.lang.IllegalStateException: WFLYCTL0214: Could not get main file: -b. Specified files must be relative to the configuration dir: /opt/wildfly/standalone/configuration

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by michael2043
, 2 months ago
WFLYCTL0214: Could not get main file: -b. Specified files must be relative to the configuration dir: /opt/wildfly/standalone/configuration
via Super User by Chaminda Bandara
, 1 year ago
WFLYCTL0214: Could not get main file: -b. Specified files must be relative to the configuration dir: /opt/wildfly/standalone/configuration
via Stack Overflow by Armen Arzumanyan
, 1 year ago
WFLYCTL0214: Could not get main file: standalone-full-camel.xml. Specified files must be relative to the configuration dir: C:\wildfly-10.0.0.Final\standalone\configuration
via Google Groups by learner, 1 year ago
WFLYCTL0214: Could not get main file: standalone-full.xml -Dorg.kie.server.id=wildfly-kieserver. Specified files must be relative to the configuration dir: C:\Users\MOHMO06\Desktop\Wildfly\wildfly-9.0.1.Final\standalone\configuration
via GitHub by tdiesler
, 2 years ago
JBAS014805: Could not get main file: standalone-examples.xml. Specified files must be relative to the configuration dir: /Users/tdiesler/git/wildfly-camel/examples/camel-rest/target/wildfly-8.2.0.Final/standalone/configuration
via runawfe by vromav
, 1 year ago
JBAS014805: Could not get main file: standalone-runa.xml. Specified files must be relative to the configuration dir: /usr/share/jboss-as/standalone/configuration
java.lang.IllegalStateException: WFLYCTL0214: Could not get main file: -b. Specified files must be relative to the configuration dir: /opt/wildfly/standalone/configuration
at org.jboss.as.controller.persistence.ConfigurationFile.determineMainFile(ConfigurationFile.java:311)
at org.jboss.as.server.ServerEnvironment.(ServerEnvironment.java:456)
at org.jboss.as.server.Main.determineEnvironment(Main.java:297)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.modules.Module.run(Module.java:329)
at org.jboss.modules.Main.main(Main.java:507)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.