The jboss-ejb3.xml elements are not correctly validated. At least a warning should be provided when the invalid file is used. Even the AS quickstarts are not unified in using this deployment descriptor. ejb-security-interceptors/target/classes/META-INF/jboss-ejb3.xml: <jboss xmlns="http://www.jboss.com/xml/ns/javaee" jts/application-component-2/src/main/resources/META-INF/jboss-ejb3.xml: <jboss:ejb-jar xmlns:jboss="http://www.jboss.com/xml/ns/javaee" It seems, the <ejb-jar> root element should be the correct one. There is no <jboss> element defined in the schema file: https://github.com/jboss/metadata/blob/master/ejb/src/main/resources/schema/jboss-ejb3-2_0.xsd Related links: https://issues.jboss.org/browse/AS7-6452 https://github.com/jboss-jdf/jboss-as-quickstart/pull/425#discussion-diff-3025144 https://bugzilla.redhat.com/show_bug.cgi?id=911483
Assigning jpai EJB issues to david.lloyd. Please re-assign to Cheng or others as needed.
https://issues.jboss.org/browse/WFLY-812 is rejected per David's last comment which sounds reasonable to me. I think that for backwards compatibility reasons this should be preserved, at least in EAP 6.x. I will close this one, but if anyone is opposed, it is still open to discussion.