1 Reply Latest reply on Jan 7, 2015 11:53 AM by Tomaz Cerar

    Deploying a web application

    Vytautas Gimbutas Newbie

      When I deploy a web app for breath moment it will return 404 HTTP status codes. Is it possible to change it to return 503 while it's deploy'ing? That would be great, because i'm using nginx as a load balancer and I can configure it to pass to next server if the response http status code is 503.

      Also, is it possible to check via native management CLI if a deployment is in progress? I tried " /host=host/server=server/deployment=deployment.war:read-attribute(name=status)", but if it's currently in progress the command just hangs, waits for it to finish and then returns "status = OK". I'm looking for something like status=deploying. Is there something like this?