JBoss CLI does not handle curly braces ('{' and '}') properly

Solution Verified - Updated -

Issue

  • When issuing commands to the JBoss CLI that have values that include curly braces, the CLI does not seem to parse them correctly. For example
/subsystem=web/virtual-server=default-host/rewrite=scontrol/condition=scontrol/:add(flags=NC,pattern=^(3880|3818)$,test=%{SERVER_PORT})

Notice the curly braces in the value of the attribute test. The value of test ends up being % rather than %{SERVER_PORT}

Environment

  • 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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.