Sun GlassFish Enterprise Server v3 Upgrade Guide

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 the Sun GlassFish Enterprise Server v3 Reference Manual.

asadmin Subcommands

Subcommands are backward compatible except as noted below.

The following subcommand is deprecated.

In Enterprise Server v3, 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.

Deprecated and Unsupported Options

Options in Table 1–1 are deprecated or no longer supported.

Table 1–1 Deprecated and Unsupported asadmin Options

Option 

Deprecated or Unsupported in Subcommands 

--defaultvs

Deprecated for the create-http-listener subcommand.

--httplisteners

Deprecated for the create-virtual-server subcommand. Use --networklisteners instead.

--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.

--blockingenabled

Unsupported for the create-http-listener subcommand.

--configfile

Unsupported for the create-virtual-server subcommand.

--defaultobj

Unsupported for the create-virtual-server subcommand.

--domain

Unsupported for the stop-domain subcommand.

--instance

Unsupported for all remote subcommands. 

--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.

--resourcetype

Unsupported for all relevant subcommands. Use --restype instead.

--target

Unsupported at this release for all subcommands.