<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#333333">
    <div class="moz-cite-prefix">On 22/03/2014 02:08, Willy Sudiarto
      Raharjo wrote:<br>
    </div>
    <blockquote cite="mid:532CE27A.6020203@slackbuilds.org" type="cite">
      <pre wrap="">-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

</pre>
      <blockquote type="cite">
        <pre wrap="">i found that removing "controller=127.0.0.1:9999" from the shutdown command
makes it work (i also removed the "cd wildfly home" part earlier but i
don't think it matters much. maybe the rc script shouldn't have that by
default so it just works as expected.
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">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=127.0.0.1:9999command=: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.

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.

the local connection method is a bit less secure unless a wildfly user is
somehow generated.

either way, its not obvious that `rc.wildfly stop` does not work without
further configuration so at the very least it should be noted.
</pre>
        </blockquote>
      </blockquote>
      <pre wrap="">
Just to make sure the maintainer gets this, i'm CCing to him as well


- --
Willy Sudiarto Raharjo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - <a class="moz-txt-link-freetext" href="http://www.enigmail.net/">http://www.enigmail.net/</a>

iEYEARECAAYFAlMs4noACgkQiHuDdNczM4H8tQCfZEA9gQ9ZnTZVcY1jtsYkCpk8
Z78AoI4f1mo1l+THf6zmmXs9dKf6Ts2j
=bKrF
-----END PGP SIGNATURE-----

</pre>
      <pre>

</pre>
    </blockquote>
    <pre><font face="DejaVu Sans Mono">there is a typo in the port number</font></pre>
    <pre><font face="DejaVu Sans Mono">-/usr/share/wildfly/bin/jboss-cli.sh --connect controller=127.0.0.1:9999 command=:shutdown</font></pre>
    <pre><font face="DejaVu Sans Mono">+/usr/share/wildfly/bin/jboss-cli.sh --connect controller=127.0.0.1:9990 command=:shutdown</font></pre>
    <pre>i'll fix the rc.wildfly script thanks</pre>
    <br>
  </body>
</html>