[jboss-user] [Management, JMX/JBoss] - jxm stop ear application, including war

smpub2000 do-not-reply at jboss.com
Tue Oct 28 18:36:38 EDT 2008


Regarding the jmx api to start/stop an ear application using the MBeans: When the corresponding MBean stop() is invoked on url for the ear in the jboss.j2ee domain, it stops the EJBSs, but not the war application that is contained with the EAR.

I see that the war MBean is listed separately under jboss.web domain, but it does not list the EAR name, so you can't know dynamically which EAR file its in, and therefore if it should be stopped as part of the EAR application stop. I would appreciate any ideas on how, given an EAR application name, you can lookup all its components (including WAR, etc) and start/stop all of them.

Thanks.
SM.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185239#4185239

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185239



More information about the jboss-user mailing list