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
--help
option 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
Содержание Sun GlassFish Enterprise Server 2.1
Страница 12: ...12 ...
Страница 13: ...Figures FIGURE 1 1 Enterprise Server Instance 29 FIGURE 9 1 RoleMapping 105 13 ...
Страница 14: ...14 ...
Страница 18: ...18 ...
Страница 38: ...38 ...
Страница 62: ...62 ...
Страница 96: ...96 ...
Страница 126: ...126 ...
Страница 160: ...160 ...
Страница 214: ...214 ...
Страница 218: ...218 ...
Страница 230: ...230 ...