I remember with the release 4.x it was a two proces step- at first you would get the web application deployment id and then query for its status.
Check also this jboss howto
Let us know if it works on JBoss 5, I'm curious too.
In Jboss 5.1.0.GA when I do twiddle -s localhost:1099 query jboss.web.deployment:*, the output is list of war files but there is no id.
jboss.web.deployment:war=/jmx-consolenot sure if we have to pass any additional option to get the id, also there is no StateString attribute for the war files.Jaikiran,there are couple of operations on Service Mbean like listDeployed and listDeployedAsString. When I invoke this operations I get nothing.[abc@test /opt/jboss/bin] twiddle.sh invoke "jboss.system:service=MainDeployer" listDeployedAsString<pre></pre>[abc@test /opt/jboss/bin] twiddle.sh invoke "jboss.system:service=MainDeployer" listDeployedjboss.web.deployment:war=/admin-consolejboss.web.deployment:war=/invokerjboss.web.deployment:war=/ROOTjboss.web.deployment:war=/web-consolejboss.web.deployment:war=/jmx-console
Also when I check in the jmx-console I can see there are applications deployed and running