[jboss-dev-forums] [Design of POJO Server] - Bean declarations only in jboss.xml

bstansberry@jboss.com do-not-reply at jboss.com
Tue Nov 20 20:25:57 EST 2007


A couple clustered EJB3 tests are failing because the bean jar includes an ejb-jar.xml but one bean in the test isn't listed there -- it's declared via annotation and has some overrides in jboss.xml, but no ejb-jar.xml entry.

Seems this is failing because JBossEnterpriseBeansMetaData.merge() is ignoring the possibility that a bean could be listed only in jboss.xml and not in ejb-jar.xml. So, the jboss.xml-only bean isn't getting added to the merged set of beans.

This is easy to fix; I've got a fix and a test.  But before committing it I wanted to double check there's no problem with doing this in the EJB21 case -- the fix doesn't discriminate based on whether its EJB3 or EJB21.

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

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



More information about the jboss-dev-forums mailing list