I have a WildFly running and an application that allow to edit database connection (ds.xml), that connection use security domain. When WildFly stopped it's work!
When WildFly is running, I can write standalone.xml
and save it but automatically the standalone.xml
reverts to its previous state.
Have a way to a external app to edit the standalone.xml
with WildFly running?
WildFly will rewrite the configuration if there are changes to the management model. It's advised not to directly change the XML configuration file. If you need to change a setting it's best to use CLI or the web console.
Some changes don't require a reload, some do. So in some cases you can make changes at runtime and see them immediately.
If you're editing a *-ds.xml
file in a deployment, then that deployment will need to be redeployed.