<div dir="ltr">has anybody used the rc.wildfly script included in wildfly to stop the service? it seems to silently fail. when i ran the command directly [ $/usr/share/wildfly/bin/jboss-cli.sh --connect controller=<a href="http://127.0.0.1:9999">127.0.0.1:9999</a> command=:shutdown ] i see that its getting a connection refused error. it appears that the config file is not setup to allow local connections to control wildfly.<div>
<br></div><div>can the wildfly buildscript be packaged such that it either falls back to a simple `kill $wildflypid` command and/or patch the standalone.xml to allow local connections.</div><div><br></div><div>the local connection method is a bit less secure unless a wildfly user is somehow generated. </div>
<div><br></div><div>either way, its not obvious that `rc.wildfly stop` does not work without further configuration so at the very least it should be noted.</div><div><br></div><div>thanks,</div><div>miguel</div></div>