This content has been marked as final. 
    
Show                 1 reply
    
- 
        1. Re: Force WAR Redeploymentjulien1 Aug 9, 2005 5:48 PM (in response to patrickdalla)patrick, 
 the straightforward way to do that is through the JMX api, there is the jboss.system:service=MainDeployer which has two operations :
 - Collection listDeployed() which returns a list of org.jboss.system.deployment.DeploymentInfo objects, each object having an URL attribute you can use to locate your deployment
 - redeploy(URL url) or redeploy(String) which force a redeploy of the specified archive, you can locate your archive URL by using the listDeployed() operation
 
    