I came to the conclusion that using J2EEApplication for wrapping non-ear modules is a bug.
E.g. a war inside a sar that describes the parent .sar as being a J2EEApplication is not
correct.
So I've removed this wrapping here:
http://jira.jboss.com/jira/browse/JBAS-2026
A J2EEApplication with a non-null value really refers to an .ear. The TCK tests seem to
agree with that.
Based on this, the org.jboss.test.jmx.test.JarInSarJSR77UnitTestCase doesn't make
sense, so I'll disable it. This is in Branch_4_2 and HEAD.
We need to rethink our jsr77 view of location and scoping and the discussion in this
thread is a good start.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034690#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...