Can web.xml / server.xml configuration be externalized to avoid editing the deployment descriptor in JBoss?

Solution Verified - Updated -

Issue

  • Can WEB-INF/web.xml configuration be externalized so that the deployment descriptor doesn't have to be continually edited?
  • Can I use system properties in server.xml?
  • I am setting a property with a default value and it isn't being picked up by JBoss, why?

Environment

  • JBoss Enterprise Application Platform (EAP)

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.