[jboss-dev-forums] [Design of POJO Server] - Re: Sub-Profiles ProfileService changes
bstansberry@jboss.com
do-not-reply at jboss.com
Mon Jan 26 22:24:43 EST 2009
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#4204865
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204865
More information about the jboss-dev-forums
mailing list