5

Isn't it possible to echo system variables in JBoss ClI?

jboss.server.config.dir
jboss.home.dir

From https://docs.jboss.org/author/display/WFLY8/Command+line+parameters the table under the heading "Standalone".

James R. Perkins
  • 16,800
  • 44
  • 60
LuckyLuke
  • 47,771
  • 85
  • 270
  • 434
  • 2
    Do you mean just see them via CLI? Like the output from `/core-service=server-environment:read-resource(recursive=true,include-runtime=true)`? – James R. Perkins Oct 21 '14 at 22:35
  • @JamesR.Perkins I mean more like using the values of the different variables available. In JBoss CLI. – LuckyLuke Oct 22 '14 at 14:51
  • 1
    I'm not sure I follow. You can do `/:resolve-expression(expression=${jboss.home.dir})`. Is that what you're looking for? If it's just paths, `/path=*:read-resource` would work. – James R. Perkins Oct 22 '14 at 15:54

0 Answers0