Why is my custom ejb3 interceptor stack not used in JBoss EAP 5.x?
Issue
- After upgrading from 4.3 to 5.1, our custom interceptor stack is no longer used. The interceptor stack is defined in the ejb3-interceptors-aop.xml file and associated with the bean in the jboss.xml file:
<?xml version="1.0"?> <jboss xmlns="http://www.jboss.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss_5_0.xsd" version="3.0"> <enterprise-beans> <session> <ejb-name>TestBean</ejb-name> <remote-binding> <jndi-name>com.redhat.test.TestBean</jndi-name> <interceptor-stack>test-stateless-client-interceptors</interceptor-stack> </remote-binding> <clustered>true</clustered> </session> </enterprise-beans> </jboss>
Environment
- JBoss Enterprise Application Platform (EAP)
- 5.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.