How to restart a JBoss application, without restarting server.
-
Start JMXConsole, (on production servers it is good to forbd public access, here you can find how to do it)
-
Find MBean called MainDeployer - jboss.system:service=MainDeployer. Usually it will be in 2/3 of the scroll.
-
Call method listDeployedAsString().
-
Finf your application (Ctrl+F) and copy URL to the clippboard, it will be a string of this sort:
file:/usr/local/jboss-4.2.3.GA/server/default/deploy/jboss-web.deployer/ROOT.war/
-
Go back to the view with list of methods "Back to MBean View"
-
Find redeploy() method.
-
Paste clipboard content to url paremeter.
-
Call the methode.
-
Ready




