beautypg.com

Common options for remote commands, Table c–1, Remote commands required options – Sun Microsystems GLASSFISH ENTERPRISE 820433510 User Manual

Page 234

background image

To use the --secure option, you must use the set command to enable the security --enabled
flag in the admin http-listener in the domain.xml. When you use the asadmin
subcommands to create and/or delete, you must restart the server for the newly created
command to take affect. Use the start-domain command to restart the server.

To access the manpages for the Application Server command-line interface subcommands on
the Solaris platform, add $AS_INSTALL/man to your MANPATH environment variable.

You can obtain overall usage information for any of the asadmin utility subcommands by
invoking the --help option. If you specify a subcommand, the usage information for that
subcommand is displayed. Using the --helpoption without a subcommand displays a listing of
all the available subcommands.

Common Options for Remote Commands

All the remote commands require the following common options:

TABLE C–1

Remote Commands Required Options

Option

Definition

--host

The machine name where the domain administration server is running. The default
value is localhost.

--port

The HTTP/S port for administration. This is the port to which you should point your
browser in order to manage the domain. For example, http://localhost:4848. The
default port number for Platform Edition is 4848.

--user

The authorized domain administration server administrative username. If you have
authenticated to a domain using the asadmin login command, then you need not
specify the --user option on subsequent operations to this particular domain.

Common Options for Remote Commands

Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008

234