How can I turn off annotation scanning of a deployment in JBoss EAP?

Solution Verified - Updated -

Issue

War deployments with large numbers of jars in their WEB-INF/lib directory can take a long time to deploy due to scanning the jars for annotations.  How can EAP be configured to avoid such scanning?

Environment

JBoss Enterprise Application Platform (EAP) 5.0.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.