How to use Rewrite Valve in JBoss EAP 6?

Solution Verified - Updated -


  • How to redirect the http request to a url using Rewrite Valve?.
    Example: redirecting all http requests coming for "http://localhost:8080/MXBeanDemo" should be redirected to ""

  • How to redirect "http://localhost:8080/Abcd" to "http://localhost:8080/Wxyz" ?

  • I need to set up redirects from JBoss. I do not have an apache server in place so think I will have to use RewriteRule. Need help with setting up redirect in JBoss.


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