6 Replies Latest reply on May 16, 2016 3:47 AM by Nicklas Karlsson

    Need to stop Wildfly non-interactive mode.

    Gokendra Malviya Newbie

      Hi,

      there is an requirement to stop specific instance of Wilfly gracefully with non-interactive mode which would be help in to STOP using shell scripting.

      I founded the way, it would possible using CLI (wildfly-10.0.0.Final/bin/jboss-cli.sh) but below are the issue I am facing:

       

      1. we have to give the plan text password in that command like: wildfly-10.0.0.Final/bin/jboss-cli.sh -c  --controller=0.0.0.0:9990 --command=:start -u=user1 -p=user1

       

      Is the any way in which password can be secure of may be we can use md5 password in there ?

       

      2. how can we use HTTPS-management port in that command the default it connect http-remoting. if I enter https mangement port no in there so I got the below error

       

      Failed to connect to the controller: The controller is not available at 0.0.0.0:9993: java.net.ConnectException: WFLYPRT0053: Could not connect to http-remoting://0.0.0.0:9993. The connection failed: WFLYPRT0053: Could not connect to http-remoting://0.0.0.0:9993. The connection failed: Connection refused

       

      Thanks in advance..

       

      --

      Gokendra.