h1. Verify the Version of Application Server
To verify which version of Application Server you have installed, run the following command on the host where you have installed Application Server:
{noformat}
# /opt/SUNWappserver/bin/asadmin version
Version = Sun Java System Application Server 9.1_02
{noformat}
You can obtain other relevant information by running the following commands:
{noformat}
# grep -i admin_profile /opt/SUNWappserver/config/asadminenv.conf
AS_ADMIN_PROFILE=enterprise
{noformat}
{noformat}
# grep -i hadb /opt/SUNWappserver/config/asenv.conf
AS_HADB="/opt/SUNWappserver/hadb/4.4.3-6"
{noformat}
{noformat}
# grep -i jdk /opt/SUNWappserver/config/asenv.conf
AS_JAVA="/opt/SUNWappserver/jdk"
{noformat}
{noformat}
# /opt/SUNWappserver/jdk/bin/java -version
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode)
{noformat}
To verify which version of Application Server you have installed, run the following command on the host where you have installed Application Server:
{noformat}
# /opt/SUNWappserver/bin/asadmin version
Version = Sun Java System Application Server 9.1_02
{noformat}
You can obtain other relevant information by running the following commands:
{noformat}
# grep -i admin_profile /opt/SUNWappserver/config/asadminenv.conf
AS_ADMIN_PROFILE=enterprise
{noformat}
{noformat}
# grep -i hadb /opt/SUNWappserver/config/asenv.conf
AS_HADB="/opt/SUNWappserver/hadb/4.4.3-6"
{noformat}
{noformat}
# grep -i jdk /opt/SUNWappserver/config/asenv.conf
AS_JAVA="/opt/SUNWappserver/jdk"
{noformat}
{noformat}
# /opt/SUNWappserver/jdk/bin/java -version
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode)
{noformat}