(As asked in title:) How do I tell what version of JBoss I am running?
I am also curious what version of tomcat I am running. Does a specific version of JBoss correspond
Use the following command from Linux
find $JBOSS_HOME -name run.sh -exec {} -V \; | grep '^JBoss'
In your JBoss lib Directory:
The version of JBoss should also be visible in the boot log file. Standard install would have that (for linux) in
/var/log/jboss/boot.log
$ head boot.log
08:30:07,477 INFO [Server] Starting JBoss (MX MicroKernel)...
08:30:07,478 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
08:30:07,478 DEBUG [Server] Using config: org.jboss.system.server.ServerConfigImpl@4277158a
08:30:07,478 DEBUG [Server] Server type: class org.jboss.system.server.ServerImpl
08:30:07,478 DEBUG [Server] Server loaded through: org.jboss.system.server.NoAnnotationURLClassLoader
08:30:07,478 DEBUG [Server] Boot URLs:
so required info int the above case is
Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
If you know the location of installed jboss folder then simply open it and look for version.txt
file.
JBoss has an MBean called Server. That reports the build and version of JBoss itself. Once you know the version, you can see what components are involved. It is not that well cataloged, but you can see it in the release notes.
Realize this is an old thread but here are a couple other ways (works with EAP 6.4):
# jboss-cli.sh -c --controller=127.0.0.1:9999 'version'
JBoss Admin Command-line Interface
JBOSS_HOME: /opt/AAS/latest/jboss
JBoss AS release: 7.5.14.Final-redhat-2 "Janus"
JBoss AS product: EAP 6.4.14.GA
# more /opt/jboss/.installation/identity.conf
patches=
cumulative-patch-id=jboss-eap-6.4.14.CP
installed-patches=jboss-eap-6.4.1.CP,jboss-eap-6.4.2.CP,jboss-eap-6.4.3.CP,jboss-eap-6.4.4.CP,jboss-eap-6.4.5.CP,jboss-eap-6.4.6.CP,jboss-eap-6.4.7.CP,jboss-eap-6.4.8.CP,jboss-eap-6.4.9.CP,
jboss-eap-6.4.10.CP,jboss-eap-6.4.11.CP,jboss-eap-6.4.12.CP,jboss-eap-6.4.13.CP,jboss-eap-6.4.14.CP