Why is my custom ejb3 interceptor stack not used in JBoss EAP 5.x?

Solution Verified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.