We use Jboss AS 7.1.1 and start to introduce CDI based interceptor for some AOP handling. And in our application, there is a war file which expose web service interfaces, then there are a couple of jar files which are EJB modules with SLSBs. And we have to put beans.xml in side war file, then the interceptor annotations is defined in EJB modules in SLSBs. But we found if we put these jars (or EJB modules) on the same level as war file, then the beans.xml will not be detected by container, so the interceptor doesn't work. but if we put the jars (EJB modules) inside war file (like WEB-INF/lib), then it works. I think this must be some pb with classpath problem, right? Could you please suggest some workaround? Thank you very much!