The validate works. So I switched trunk to use HASingletonProfileManager instead of
HASingletonDeploymentScanner.
One concern with the validate is you can get unsatisfied dependencies. Say you have a war
in deploy-hasingleton. And say during the 'all' profile deploy the
cluster/deploy-hasingleton-jboss-beans.xml file is deployed before jboss-web.sar. That
will trigger activation of the deploy-hasingleton profile, and the war will not complete
deployment pending dependency on jboss-web.sar. Not a problem, since at the end of the
whole thing the dependency will be satisfied and the war will deploy. Except, the validate
call during the deploy-hasingleton activation will throw an exception.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204865#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...