Red Hat Training

A Red Hat training course is available for JBoss Enterprise Application Platform Common Criteria Certification

3.6. Confirming the Version of your JBoss EAP 6 Installation

There are three ways to verify the version number of your JBoss EAP 6 installation.
Using the -V with the startup script

Retrieve information about the version of your JBoss EAP 6 installation by running the same script used to start the server with only the -V switch. If your installation is a standalone or managed domain, for Red Hat Enterprise Linux, HP-UX and Solaris, this script is either standalone.sh or domain.sh, and on Microsoft Windows Server it is the equivalent .bat scripts. The startup scripts are located in EAP_HOME/bin.

Running the startup script with only the -V switch will not start the server, and does not require the server to be running. It displays information about the JBoss EAP version and its configured Java environment. Below is an example of using it on an installation of JBoss EAP 6 on Red Hat Enterprise Linux. Note the version number (JBoss EAP 6.2.2.GA) displayed as the last line of the output.
$ ./standalone.sh -V
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /home/user/jboss-eap-6.2

  JAVA: /usr/lib/jvm/java-1.7.0-openjdk.x86_64/bin/java

  JAVA_OPTS:  -server -XX:+UseCompressedOops -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true

=========================================================================

14:38:11,609 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.0.Final-redhat-2
14:38:11,780 INFO  [stdout] (main) JBoss EAP 6.2.2.GA (AS 7.3.0.Final-redhat-14)
Using the Web console

When the JBoss EAP 6 server is running, the version information is displayed at top of the home page of the Web Console, located at http://localhost:9990/console/.

View the console output, or server.log file

When a server is started, the version is echoed to the console, and written to the server log. For standalone configurations the server log is located at EAP_HOME/standalone/log/server.log, and for managed domain servers it is EAP_HOME/domain/servers/SERVER_NAME/log/server.log:

14:56:16,256 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss EAP 6.2.2.GA (AS 7.3.0.Final-redhat-14) started in 4872ms - Started 147 of 209 services (61 services are passive or on-demand)