Command Line Interface: The asadmin Command
The following sections describe changes to the command line utility asadmin:
For more information about asadmin and its subcommands, see Oracle GlassFish Server 3.1-3.1.1 Reference Manual.
Deprecated asadmin Subcommands
In GlassFish Server 3.1, it is recommended that utility options of the
asadmin command precede the subcommand. Utility options are options that control the behavior
of the asadmin utility, as distinguished from subcommand options. Use of the
following options after the subcommand is deprecated.
-
--host
-
--port
-
--user
-
--passwordfile
-
--terse
-
--secure
-
--echo
-
--interactive
Deprecated, Unsupported, and Obsolete Options
Options in Table 1-2 are deprecated or no longer supported, or are obsolete and
are ignored.
Table 1-2 Deprecated, Unsupported, and Obsolete Options for asadmin and Subcommands
|
|
--acceptlang |
Unsupported for the create-virtual-server subcommand. |
--acls |
Unsupported for the create-virtual-server subcommand. |
--adminpassword |
Unsupported for
all relevant subcommands. Use --passwordfile instead. |
--autoapplyenabled |
Obsolete for the create-http-lb subcommand. |
--autohadb |
Obsolete for the
create-cluster subcommand. |
--autohadboverride |
Obsolete for the start-cluster subcommand and the stop-cluster subcommand |
--blockingenabled |
Unsupported for the
create-http-listener subcommand. |
--configfile |
Unsupported for the create-virtual-server subcommand. |
--defaultobj |
Unsupported for the create-virtual-server subcommand. |
--defaultvs |
Deprecated for the
create-http-listener subcommand. Use --default-virtual-server instead. |
--description |
Obsolete for the restore-domain subcommand. |
--devicesize |
Obsolete for the create-cluster
subcommand. |
--haadminpassword |
Obsolete for the create-cluster subcommand. |
--haadminpasswordfile |
Obsolete for the create-cluster subcommand. |
--haagentport |
Obsolete for the create-cluster
subcommand. |
--haproperty |
Obsolete for the create-cluster subcommand. |
--heartbeataddress |
Deprecated for the create-cluster subcommand. Use --multicastaddress instead. |
--heartbeatport |
Deprecated
for the create-cluster subcommand. Use --multicastport instead. |
--hosts |
Obsolete for the create-cluster subcommand. |
--ignoreDescriptorItem |
Replaced by
the all lowercase option --ignoredescriptoritem in the set-web-context-param subcommand and the set-web-env-entry subcommand. |
--mime |
Unsupported
for the create-virtual-server subcommand. |
--password |
Unsupported for all remote subcommands. Use --passwordfile instead. |
--path |
Unsupported for
the create-domain subcommand. Use --domaindir instead. |
--portbase |
Obsolete only for the create-cluster subcommand. This
option is still valid in other subcommands such as create-domain, create-instance, and
create-local-instance. |
--resourcetype |
Unsupported for all relevant subcommands. Use --restype instead. |
--retrievefile |
Obsolete for the export-http-lb-config subcommand. |
--setenv |
Obsolete
for the start-instance subcommand. |
--target |
Obsolete only for the following subcommands:
create-connector-connection-pool
create-resource-adapter-config
delete-connector-connection-pool
delete-connector-security-map
delete-jdbc-connection-pool
delete-resource-ref
Replaced by an operand
in the list-custom-resources subcommand and the list-jndi-entries subcommand: |
|