Info-System

Restart Jboss application via JMX console

E-mail Print PDF

 

How to restart a JBoss application, without restarting server.

  1. Start JMXConsole, (on production servers it is good to forbd public access, here you can find how to do it)

  2. Find MBean called MainDeployer - jboss.system:service=MainDeployer. Usually it will be in 2/3 of the scroll.

  3. Call method listDeployedAsString().

  4. 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/

  5. Go back to the view with list of methods "Back to MBean View"

  6. Find redeploy() method.

  7. Paste clipboard content to url paremeter.

  8. Call the methode.

  9. Ready

Add comment


Security code
Refresh

Joomlart