Patching overrides modified module.xml. How to preserve it?

Solution Unverified - Updated -

Issue

If modules from EAP are modified like following files, it will be overrided after patching.

/jboss-eap/jboss-eap-6.2/modules/system/layers/base/org/jboss/as/remoting/main/module.xml
/jboss-eap/jboss-eap-6.2/modules/system/layers/base/org/jboss/as/server/main/module.xml

Is there a way to preserve the files?

Environment

Red Hat JBoss Enterprise Application Platform
- 6.2.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.