This content has been marked as final.
Show 2 replies
-
1. Re: how to redeploy from command line in jboss6
peterj Nov 11, 2010 5:25 PM (in response to devinderpal)I can delete the ear dir and copy it again, but not sure if that's the right way
That is a perfectly acceptable way (and also the easiest way) of redeploying an app.
-
2. Re: how to redeploy from command line in jboss6
gibsonc Feb 3, 2011 1:54 PM (in response to peterj)Hi Peter
Must one delete the old war / ear first before copying the new one - ie wait for an undeploy?
I have noticed an issue on 5.1.0 - I will try on AS6 tomorrow to see if the same applies.....
If I touch the web.xml, the app is redeployed successfully on a clustered / non clustered instance - this is expected and works.
If I copy a new war into the deploy folder over an existing one - ie without first deleting, and the instance is part of a cluster, the instance I am deploying into aborts immediately.
Is this a bug, or am I doing it wrong?