Version 6

    This article will talk about overview of all system properties in JBoss AS7+ including OS system properties and properties specified on command line using -D, -P or --properties arguments.

     

    CLI

    $ ./bin/jboss-cli.sh --connect controller=IP_ADDRESS
    STANDALONE
    [standalone@IP_ADDRESS:9999 /] /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
    
    DOMAIN-SERVER
    [domain@IP_ADDRESS:9999 /] /host=master/server=server-one/core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
    
    DOMAIN-DC
    [domain@IP_ADDRESS:9999 /] /host=master/core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
    

     

    Writing a system property foo=bar:

    /system-property=foo/:add(value=bar)
    

    Web console

    TBD, see AS7-2172 -- Provide the ability to view OS system properties within the console.

     

    Reference

    http://community.jboss.org/wiki/JBossAS7HowDoI

    http://community.jboss.org/wiki/JBossAS7SystemProperties