java.lang.IllegalStateException: WFLYSRV0124: Could not create server data directory: /opt/jboss/wildfly/standalone/data

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 tdiesler
, 7 months ago
WFLYSRV0124: Could not create server data directory: /opt/jboss/wildfly/standalone/data
via GitHub by eljenso
, 2 years ago
WFLYSRV0124: Could not create server data directory: /opt/jboss/wildfly/standalone/data
via GitHub by tdiesler
, 10 months ago
WFLYSRV0124: Could not create server data directory: /opt/jboss/wildfly/standalone/data
via GitHub by vnugent
, 1 year ago
WFLYSRV0124: Could not create server data directory: /opt/jboss/wildfly/standalone/data
via GitHub by johnament
, 1 year ago
WFLYSRV0124: Could not create server data directory: /opt/jboss/wildfly-10.0.0.CR4/standalone/data
via Stack Overflow by Kev O.
, 1 year ago
WFLYSRV0124: Could not create server data directory: /opt/wildfly/standalone/data
java.lang.IllegalStateException: WFLYSRV0124: Could not create server data directory: /opt/jboss/wildfly/standalone/data
at org.jboss.as.server.ServerEnvironment.(ServerEnvironment.java:473)
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
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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