ServletContainerInitializer included via jboss-deployment-structure.xml is invoked twice

Solution Verified - Updated -

Issue

  • If we provide a ServletContainerInitializer in a module included in our app via its jboss-deployment-structure.xml, the ServletContainerInitializer is invoked twice. If the ServletContainerInitializer is included directly in the application, it is only invoked once.

Environment

  • JBoss Enterprise Application Platform (EAP) 6.4.9 and earlier

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.