How to add system properties which has "white space" using CLI.
Issue
For example, following is working when I manually edit confiugraion file to add it.
System.setProperty("msg", "Código Inválido");
But using CLI, the white space is automatically gone.
[standalone@localhost:9999 system-property=msg] :write-attribute(name=value,value=Código Inválido)
result ==> CódigoInválido
If double quote is used, the string is broken.
[standalone@localhost:9999 system-property=msg] :write-attribute(name=value,value="Código Inválido")
result ==> C?digo Inv?lido
How to keep the white space?
Environment
Red Hat JBoss Enterprise Application Platform
-6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.