The above quickstart's file jboss-ejb3.xml indicates two errors. The first error seems to be a problem with the upstream / online schema, and I'm not sure if this is fixable in the quickstart or not. The second error may either be an error in the quickstart, or an error in the xsds, or, possibly, an error in eclipse validation. I am having trouble figuring out which.
Referenced file contains errors (jar:file:/home/rob/apps/eclipse/builds/mars_sr1_w_jbt/eclipse/plugins/
Further details can be seen in attachment "20529_security_interceptors_1.png",
The current file in the quicksttarts has the following content:
There are a few noted problems here.
1) Validation insists that one jee:ejb-name element must live inside the container-interceptors but before the interceptor-binding. This basically means that that set of container-interceptors is only valid for one ejb.
2) Validation also insists that ANOTHER jee:ejb-name ALSO live INSIDE the interceptor-binding
3) If you have multiple interceptor bindings, only the first must have a jee:ejb-name OUTSIDE of it.
After a lot of spit-balling, the only valid xml I've managed to come up with that validates properly is:
You'll note there's a lot more namespacing going on in the elements, and that we now have two container-interceptors as opposed to one, because both are for different EJBs. You'll also note that the ejb-name must be declared twice, or else validation fails. This is most likely an error in the heirarchy / nesting of the xsd's, but I am not an expert in that regard.
So the above xml would be a good workaround for the quickstarts. Any other fix would require investigation of the xsd's by someone more qualified than I am.