EJB interceptors do not work on EAP 6 when located in a module
Issue
- There is a
custom EJB interceptordefined. If theinterceptoris included intoEAR archivedirectly there is no issue. Once moved to a separateglobal moduleand removed fromEAR archive(proper dependency added) - there is no deployment error, so apparently it is getting recognized, but it never kicks in. - My
interceptoris not getting invoked when I externalize theinterceptorproject into a separatejarfile (module) that is injboss/modulesdirectory.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
