I have defined a user and password in the <system-properties> section of standalone-full.xml.
<property name="app_user" value="user1"/>
<property name="app_pwd" value="pwd1"/>
I want to use them as part of a pooled-connection-factory. I have tried:
<user>${app_user}</user>
<password>${app_pwd}</password>
This got a JSON Exception.
Then I tried
<user>$app_user</user>
<password>$app_pwd</password>
This got an exception because it thought the user was "$app_user" (no replacement) and the password was "$app_user".
Can you do this in JBoss 7.2?
thanks
Such expressions are not supported everywhere
Could you check that with the current WildFly build?
If it did not work here I would think it is a valid enhancement request and you should create a JIRA for it.