O'Reilly logo

JBoss AS 7 Configuration, Deployment, and Administration by Francesco Marchioni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

General commands

The following commands can be used to gather system information and to set specific server properties:

  • Read environment information:
    version
    
  • Read the JNDI context:
    /subsystem=naming:jndi-view
    
  • Read the XML server configuration:
    :read-config-as-xml
    
  • Read the services registered on the container and their status:
    /core-service=service-container:dump-services
    
  • Set a system property:
    /system-property=property1:add(value="value")
    
  • Read a system property:
    /system-property=property1:read-resource
    
  • Read all system properties:
    /core-service=platform-mbean/ type=runtime:read-attribute(name=system-properties)
    
  • Remove a system property:
    /system-property=property1:remove
    
  • Change a socket binding port (for example, http port):
    /socket-binding-group=standard-sockets/socket-binding=http: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required