You need to place mbean names within double quotes: twiddle -s localhost:4099 unregister "jboss:J2EEServer=Local,j2eeType=J2EEApplication,name=abcd.ear"
But that only gets rid of one of the MBeans related to your application, it does not necessarily undeploy the application. To do that, you really want to use the 'undeploy' method on the jboss.system:service-MainDeployer mbean. I haven't used that method, but i think that you would pass it the full path name for the ear file. For example: twiddle -s localhost:4099 invoke "jboss.system:service=MainDeployer" undeploy file:///opt/jboss-4.0.5.GA/server/default/deploy/adcd.ear View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997748#3997748 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997748 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user