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, 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