We're testing out JBoss5 and building a very modular system that consists of a number of independent applications (*.ear). All of the applications live in the deploy.last directory. I'm having a bit of trouble in that when one of the applications is touched (or redeployed) ALL of the applications in the directory get redeployed.
To *really* explain my point we have ApplicationX.ear, ApplicationY.ear and ApplicationZ.ear deployed in the deploy.last directory. When I redeploy (or touch) ApplicationX I can see its EJBs etc redeploy but I also see the EJBs in ApplicationY and ApplicationZ redeploy.
How can I stop this?
In the end, I found that the problem was limited to the deploy.last directory. I created a directory called "webs" in the server/custom1/deploy and put my apps in their. Applications in this new directory deploy and undeploy as expected - i.e. touching one of them results in only that application being redeployed.