1 Reply Latest reply on Apr 29, 2015 3:49 AM by Wolf-Dieter Fink

    JBoss 7.2 Use system property in standalone-full.xml

    Kevin Stone Newbie

      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