My jboss-web.xml overlay is not overwriting the files in my war in JBoss EAP 6

Solution Verified - Updated -

Issue

  • Need to change any file of a deployment at runtime so that the application need not be edited.
  • I would like to use jboss-web.xml to replace a file in my deployment using the element.

Environment

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