Redeploy an application (ear/war/…) on JBoss

A) Via JMX-console

  1. find jboss.system:service=MainDeployer
  2. invoke listDeployed - find something like:
    org.jboss.deployment.DeploymentInfo@d78e875f { url=file:/C:/jboss-3.2.3/server/default/deploy/tap.ear } 
  3.   copy the url, go back and invoke Redeploy with the url (file:/C:/...) as the parameter.

B) From the command line

The operations that can be invoked via the JBoss JMX console can also be invoked by the cmd line client <jboss home>/bin/twiddle.

C) Manually

Modify application.xml (or web.xml for .war) of the application if deployed in the expload mode (or modify/touch/ the .ear?)

Tags: java DevOps

Copyright © 2024 Jakub Holý
Powered by Cryogen
Theme by KingMob