JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle GlassFish Server 3.1 Upgrade Guide
search filter icon
search icon

Document Information

Preface

1.  GlassFish Server Upgrade Compatibility Issues

Binary-Compatible Releases For GlassFish Server 3.1

New Default Installation Directory

Changes to Group Management Service Settings

Application Client Interoperability

Node Agent Support

HADB and hadbm Command Support

Command Line Interface: The asadmin Command

Deprecated asadmin Subcommands

Deprecated, Unsupported, and Obsolete Options

Applications That Use Java DB

Applications That Use Persistence

HTTP Service to Network Service Changes

Changes to Dotted Names

Changes to asadmin Commands

Remapping of HTTP Service Attributes and Properties

New Network Service Elements and Attributes

NSS Cryptographic Token Support

2.  Upgrading an Installation of Application Server or GlassFish Server

Index

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.

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

Option
Affected 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: