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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content