How do you find the version of glassfish?

glassfish

Solution

Go to the GlassFish installed directory using terminal.

cd /opt/glassfish3.1.2.2/glassfish/bin

Type this command in terminal

./asadmin version

Problem

How do you determine which version of GlassFish server is running? This command: ``` /var/glassfish/bin/asadmin version ``` ...returned: ``` Version = Sun Java System Application Server 9.1_01 Command version executed successfully. ``` Which version of GlassFish is this?

Original source