[jboss-dev-forums] [Design the new POJO MicroContainer] - Duplicate DeploymentContext registration

alesj do-not-reply at jboss.com
Wed Feb 11 13:26:01 EST 2009


I thought I had this one:
 - http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209160#4209160
But now I'm sure I got it wrong. :-)

I did a small test, with having -beans.xml as a sub-sub-deployment, 
and it fails as expected. ;-(

* test.jar
** META-INF
** inner.jar
*** META-INF
*** my-beans.xml

It's the recursion in AbstractDeploymentContext that gets called twice.
It will always fail for any sub^n-deployment, where n > 1.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209189#4209189

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209189



More information about the jboss-dev-forums mailing list