[jboss-user] [Beginner's Corner] - Re: How to find out JBoss Versions

William Arens do-not-reply at jboss.com
Wed May 23 17:57:23 EDT 2012


William Arens [https://community.jboss.org/people/warens] created the discussion

"Re: How to find out JBoss Versions"

To view the discussion, visit: https://community.jboss.org/message/737515#737515

--------------------------------------------------------------
My group is working on a way to perform C&A on JBOSS. The method discussed here did not work as expected with JBOSS EAP 5.1 and JBOSS AS Community 6.0.1. After poking around a bit I found that the $JBOSS_HOME/bin/run.sh script will tell you the version. For C&A purposes it's nice to have a quick method to get answers so we have been using the following find statement: 
> find $JBOSS_HOME -name run.sh -exec {} -V \; | grep '^JBoss'
>  *JBoss 5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)*

Unfortunatily,  if you are working with SCAP this method is useless since there is no definition that I am aware of that allows for the execution of a shell script. But you can use the  http://oval.mitre.org/language/version5.10.1/ovaldefinition/documentation/independent-definitions-schema.htm Independent Definition 5.10.1 1/27/2012 ind:xmlfilecontent test to extract the JBoss version from the $JBOSS_HOME/jar-versions.xml: 

 name: applet.jar
 specVersion: 5.1.1
 specVendor: JBoss (http://www.jboss.org/)
 *specTitle: JBoss
 implVersion: 5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607)*
 implVendor: JBoss Inc.
 implTitle: JBoss [EAP]
 implVendorID: http://www.jboss.org/
 implURL: http://www.jboss.org/
 sealed: false
 md5Digest: fae8c900c0283406ecb991c67ddb01fb
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/737515#737515]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120523/852c661f/attachment.html 


More information about the jboss-user mailing list