Touse the --secure option, you must use the set command to enable the security --enabled
agin the admin http-listener in the domain.xml. When you use the asadmin
subcommandsto create and/or delete, you must restart the server for the newly created
commandto take aect. Use the start-domain command to restart the server.
Toaccess the manpages for the Application Server command-line interface subcommands on
theSolaris platform, add $AS_INSTALL/man to your MANPATH environment variable.
Youcan obtain overall usage information for any of the asadmin utility subcommands by
invokingthe --help option. If you specify a subcommand, the usage information for that
subcommandis displayed. Using the --helpoption without a subcommand displays a listing of
allthe available subcommands.
CommonOptions for Remote Commands
Allthe remote commands require the following common options:
TABLEC–1 RemoteCommands Required Options
Option Denition
--host Themachine name where the domain administration server is running. The default
valueis localhost.
--port TheHTTP/S port for administration. This is the port to which you should point your
browserin order to manage the domain. For example, http://localhost:4848. The
defaultport number for Platform Edition is 4848.
--user Theauthorized domain administration server administrative username. If you have
authenticatedto a domain using the asadmin login command, then you need not
specifythe --user option on subsequent operations to this particular domain.
CommonOptionsfor Remote Commands
SunGlassFishEnterprise Ser ver2.1 Administration Guide •December 2008234