[as7] Server discovery and resource version

Thomas Segismont tsegismo at redhat.com
Mon Aug 5 13:26:38 UTC 2013


Hi,

I've just pushed a fix for Bug 913764 - [as7] Version identifier of EAP 
resource changes depending on run state of EAP.

The version of the managed resource was previously determined:
* looking at the server base directory name for AS7
* making a call to the HTTP management interface for EAP6 and other 
layered projects/products

Now discovery of the server version is only based on file inspection and 
obeys to the following logic:
* look for a version.txt file
* or 
modules/system/layers/base/org/jboss/as/product/slot/dir/META-INF/MANIFEST.MF 
file
* or modules/org/jboss/as/product/slot/dir/META-INF/MANIFEST.MF
* or fallback to the server base directory name

The changes also fix BZ948053 and BZ969120 which describe other symptoms 
of the same problem.

Cheers,
Thomas


More information about the rhq-devel mailing list