Search code examples
javajboss6.xhotdeploy

JBoss 6: Stop hotdeploy


Is it possible to stop the hot deployment from JBoss 6 programmatically? How can I do that?


Solution

  • The JNDI name for the Deployment Scanner MBean is:

    jboss.deployment:type=DeploymentScanner,flavor=URL.

    With a lookup with JNDI is possible to access many methods, including the stop() method.