The remote version command enables you to display information on the Enterprise Server version for a particular server. If the command 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.
Ensure that the server is running.
Remote commands require a running server.
Display the version by using the version(1) command.
The following example command displays the version of Enterprise Server on localhost:
asadmin version |
Information similar to the following is displayed:
Version = GlassFish v3 Prelude Command version executed successfully. |
To see the full syntax and options of the command, type asadmin version --help at the command line.