If i use curl to do 'restart-domain'
curl -Ss -X POST -H 'X-Requested-By: foo' -H "Accept: application/json" http://localhost:4848/management/domain/restart-domain
It is working fine.
When i do this through the admin console, using the same endpoint, the server will be stopped, but over 90% chance that it won't start up again. There is only 2 times that i see it restarts.
To reproduce this:
- launch console
- go to server-config- Loggers Settings -> Logger Setting page. Change something and then Save
- notice the restart is required link at the upper left corner
- click on the link to get to the restart page
- click Restart button and you can see that domain will be stopped, usually it won't start again.