Oracle GlassFish Server 3.0.1 Administration Guide

ProcedureTo Update an Administered Object

Use the get and set subcommands to view and change the values of the administered objects properties.

  1. List the administered objects by using the list-admin-objects(1) subcommand.

  2. View the properties of the administered object by using the get(1) subcommand.

    For example:

    asadmin> get domain.resources.admin-object-resource.jms/samplequeue.* 
  3. Set the property of the administered object by using the set(1) subcommand.

    For example:

    asadmin> set domain.resources.admin-object-resource.jms/samplequeue.enabled=false
  4. (Optional) If needed, restart the server.

    Some properties require server restart. See Configuration Changes That Require Server Restart. If your server needs to be restarted, see To Restart a Domain.