identify war deployed in domain mode

Latest response

Hi,

we have 6,4.x setup with domain mode. How do i identify using Admin console or CLI war files that are deployed on individual node in a server group.

Reason for asking this question is war file disabled from deployment tab for a servergroup should get disabled on both servers as they are in same servergroup. despite this logs show its just disabled in single node. Hence the above question.

Thanks
Deepak.

Responses

Hi Deepak,

You should be able to use the CLI on the JBoss EAP host to drill-down to a specific EAP server to see what is deployed, and what state the deployment is in. For example:

/host=master/server=server-one/deployment=my.war:read-attribute(name=enabled)
{
    "outcome" => "success",
    "result" => true
}

However, if the domain is functioning correctly, anything done on the server group should apply to all servers in that group.