-
1. Re: Domain jboss-cli to see if the war file is completely deployed and ready to accept connections
bohremsdaq Aug 19, 2016 4:59 AM (in response to bohremsdaq)OK,
I have managed to find the way to get the status, but it uses the explicit Deployment name, and I would like to use the runtime name as it is consistent through upgrades, whereas the deployment name have the version number in it. I have tried using the * wildcard, but it is giving an error.
For reference this is how I go the status back
$JBOSS_HOME/bin/jboss-cli.sh --controller=10.14.5.13 -c "/host=master/server=server-one/deployment=deployment.11392.war :read-attribute(name=status)" |grep "OK"
"result" => "OK"
-
2. Re: Domain jboss-cli to see if the war file is completely deployed and ready to accept connections
bohremsdaq Aug 24, 2016 7:14 AM (in response to bohremsdaq)I did not find one through the jboss-cli script, but I eventually used curl to get a status code from a REST call for my server.
Just in case, the rest call info is below.
wf_status=$(curl -so /dev/null -w '%{response_code}' http://$ipaddr:8080/RESTCALL -u username:password)