META-INF/services are not loaded and invoked from nested modules and deployments

Solution Verified - Updated -

Issue

  • META-INF/services are not loaded and invoked from nested modules and deployments. For example, we include a ServletContainerInitializer in module a. Module b depends on and exports module a, and application c depends on module b. The ServletContainerInitializer is not found and invoked in this scenario, but if application c depends directly on module a, it is.

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.4
    • 7.x

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.