beautypg.com

Verify command, Custom mbean commands, Service command – Sun Microsystems GLASSFISH ENTERPRISE 820433510 User Manual

Page 251: Table c–22, Table c–23, Table c–24

background image

Verify Command

The XML verifier command verifies the content of the domain.xml file.

TABLE C–22

Verify Command

Command

Definition

verify-domain-xml

Verifies the content of the domain.xml file.

Custom MBean Commands

The MBean commands allow you to manage and register custom MBeans. The commands are
supported in remote mode only.

TABLE C–23

Custom MBean Commands

Command

Definition

create-mbean

Creates and registers a custom MBean. If the target MBeanServer is not
running, the MBean is not registered.

delete-mbean

Deletes a custom MBean. Ensure that the target MBeanServer is running.

list-mbeans

Lists the custom mbeans for the specified target.

Service Command

The service command allows you to configure the starting of the Domain Administration
Server (DAS).

TABLE C–24

Service Command

Command

Definition

create-service

Configures the starting of a DAS on an unattended boot. On Solaris 10, this
command uses the Service Management Facility (SMF). This is a local
command and must be run as the OS-level user with superuser privileges. It is
available only for Solaris 10. When the service is created, the user has to start,
enable, disable, delete, or stop the service. The DAS must be stored on a folder
to which the super-user has access. The configuration cannot be stored on a
network file system. The service is created such that it is controlled by the
OS-level user, who owns the folder where the configuration of the DAS
resides. To run this command, you must have solaris.smf.* authorization.

Service Command

Appendix C • The asadmin Utility

251