Oracle GlassFish Server 3.0.1 Administration Guide

ProcedureTo Display the GlassFish Server Version

Use the version subcommand in remote mode to display information about the GlassFish Server version for a particular server. If the subcommand cannot communicate with the server by using the specified login (user/password) and target (host/port) information, then the local version is displayed along with a warning message.

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. Display the version by using the version(1) subcommand.

Example 2–14 Displaying Version Information

This example displays the version of GlassFish Server on the local host.

asadmin> version
Version = Oracle GlassFish Server 3.0.1 (build 19)
Command version executed successfully.

See Also

You can also view the full syntax and options of the subcommand by typing asadmin help version at the command line.