-
1. Re: twiddle to find the status of web app
jaikiran Nov 9, 2010 3:11 AM (in response to jithu.mada)See if this helps http://community.jboss.org/wiki/StartupAndDeploymentCheck. I haven't checked whether the deployment related MBeans work against AS5.x.
-
2. Re: twiddle to find the status of web app
f_marchioni Nov 9, 2010 9:47 AM (in response to jithu.mada)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.
-
3. Re: twiddle to find the status of web app
jithu.mada Nov 9, 2010 10:51 AM (in response to f_marchioni)Francesco,
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=/admin-console
jboss.web.deployment:war=/invoker
jboss.web.deployment:war=/ROOT
jboss.web.deployment:war=/web-console
jboss.web.deployment:war=/jmx-console
not 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" listDeployed[]jboss.web.deployment:war=/admin-consolejboss.web.deployment:war=/invokerjboss.web.deployment:war=/ROOTjboss.web.deployment:war=/web-consolejboss.web.deployment:war=/jmx-consoleAlso when I check in the jmx-console I can see there are applications deployed and running