tags:

views:

306

answers:

3

(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 to a certain version of tomcat?

+2  A: 

This URL (JMX-Console) should provide you the informations

http://localhost:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.system%3Atype%3DServer

The tomcat version is implied by the jboss server version.

EDIT:

A complete list of versions you find here VersionOfTomcatInJBossAS

Where you reach your JBoss depends on the interface it is bound, using -b hostname If you start using JBoss with -b 0.0.0.0 option. That way, you can access the system using localhost, machineName and even the IP address. By default it's localhost, if you use th -b option you need to replace localhost by yourhostname.

stacker
+1: for tomcat info. But getting a `unable to connect` from that url.
sixtyfootersdude
Does that mean the MBean Server is not there...?
sixtyfootersdude
should MBean server be in the jboss-service?
sixtyfootersdude
+1  A: 

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 is not that well cataloged, but you can see it in the release notes.

Yishai
How can I see this?
sixtyfootersdude
@sixtyfootersdude, stacker provided the exact URL. It is visible on the jmx-console and the web-console (http://[jbossurl]:[jbossport]/jmx-console/ (or /web-console).
Yishai
+1  A: 

In your JBoss lib Directory:

  • Open the file jboss-system.jar by example
  • Extract the file MANIFEST.MF from the META-INF directory
  • Open MANIFEST.MF with a text editor and then look at the property Specification-Version and Implementation-Version
Fred