[jboss-dev-forums] [Deployers on JBoss (Deployers/JBoss)] - Re: Ordering of .ear subdeployments
bstansberry@jboss.com
do-not-reply at jboss.com
Fri Aug 11 11:08:57 EDT 2006
"vickyk" wrote :
| I can think of the possible way to get the JBAS-3503 rectified
| 1) Modify the Test suite , removal of the -ds.xml from the jboss-app.xml and deploy this prior deploying the ejb .
-1. The testcase ear is a perfectly valid deployment, and I doubt it's unusual in the real world. I know at my previous employer we had several ears like this. (I didn't write the testcase ear, so I'm not responsible for both examples ;) )
anonymous wrote : 2) Modify the EARDeployer to read the jboss-app.xml first and then the application.xml. This needs to be done in the init(..) of the EARDeployer . Personally I dont favor this and does not fit .
I agree, doing that doesn't have a good "feel." That's because it doesn't address the fundamental problem -- JBAS-2904 assumes there is a clear ordering expressed in the ear deployment descriptors. But, there isn't, because there are two descriptors with mutually exclusive content. IMHO a correct solution to JBAS-2904 requires a clear way for the user to define the complete ordering.
This isn't my call, but JBAS-2904 doesn't feel like something that should go out in a point release.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964643#3964643
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964643
More information about the jboss-dev-forums
mailing list