Oracle GlassFish Server 3.1 Section 1: asadmin Utility Subcommands
create-connector-connection-pool(1)
create-connector-security-map(1)
create-connector-work-security-map(1)
create-jdbc-connection-pool(1)
create-message-security-provider(1)
create-resource-adapter-config(1)
delete-connector-connection-pool(1)
delete-connector-security-map(1)
delete-connector-work-security-map(1)
delete-jdbc-connection-pool(1)
delete-message-security-provider(1)
delete-resource-adapter-config(1)
disable-http-lb-application(1)
disable-secure-admin-internal-user(1)
disable-secure-admin-principal(1)
enable-secure-admin-internal-user(1)
enable-secure-admin-principal(1)
list-connector-connection-pools(1)
list-connector-security-maps(1)
list-connector-work-security-maps(1)
list-message-security-providers(1)
list-resource-adapter-configs(1)
list-secure-admin-internal-users(1)
list-secure-admin-principals(1)
list-supported-cipher-suites(1)
unfreeze-transaction-service(1)
update-admin-server-coordinates(1)
update-admin-server-local-coordinates(1)
update-connector-security-map(1)
update-connector-work-security-map(1)
Oracle GlassFish Server 3.1 Section 1M: Utility Commands
Oracle GlassFish Server 3.1 Section 5ASC: GlassFish Server Concepts
- displays version information forGlassFish Server
version [--help] [--verbose={false|true}] [--local={false|true}]
The version subcommand displays version information for GlassFish Server. By default, if the subcommand cannot contact the domain administration server (DAS), the subcommand retrieves the version information locally and displays a warning message.
This subcommand is supported in remote mode and local mode.
Displays the help text for the subcommand.
If this option is set to true, the subcommand provides the version of the Java Runtime Environment (JRE) that the server is running. The default is false.
If this option is set to true, the subcommand obtains the version locally from the installation of GlassFish Server on the host where the subcommand is run.
If this option is set to false (default), the subcommand attempts to contact the DAS to obtain the version. If the attempt to contact the DAS fails, the subcommand retrieves the version locally and displays a warning message.
Example 1 Obtaining Version Information From a Running DAS
asadmin> version Version = Oracle GlassFish Server 3.1 (build 34) Command version executed successfully.
Example 2 Obtaining Version Information When the DAS Cannot be Reached
asadmin> version Version string could not be obtained from Server [localhost:4848] for some reason. (Turn debugging on e.g. by setting AS_DEBUG=true in your environment, to see the details). Using locally retrieved version string from version class. Version = Oracle GlassFish Server 3.1 (build 34) Command version executed successfully.
Example 3 Obtaining Version Information Locally
asadmin> version --local Using locally retrieved version string from version class. Version = Oracle GlassFish Server 3.1 (build 34) Command version executed successfully.
subcommand executed successfully
error in executing the subcommand