Bug 772643 - Server MBean has wrong VersionNumber attribute
Summary: Server MBean has wrong VersionNumber attribute
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: Build Process
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: BRMS 5.3.0.GA
Assignee: Julian Coleman
QA Contact: Jiri Locker
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-09 13:53 UTC by Jiri Locker
Modified: 2020-04-27 01:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Jiri Locker 2012-01-09 13:53:30 UTC
Description of problem:
The value of the attribute is
> -1.-1.-1.${version.qualifier}
which looks like the version cannot be found.

Version-Release number of selected component (if applicable):
ER2

Steps to Reproduce:
1. go to jmx-console
2. look up the jboss.system:type=ServerInfo MBean
3. check the VersionNumber attribute
  
Actual results:
-1.-1.-1.${version.qualifier}

Expected results:
Not sure, but I think it should be the same as in the message about server start completion. In ER2 it is
> 14:41:24,955 INFO  [ServerImpl] JBoss (Microcontainer) [5.3.0.BRMS-ER2 (build: SVNTag=5.3.0.BRMS-ER2 date=201201080913)] Started in 1m:57s:641ms

Additional info:

Comment 1 Julian Coleman 2012-01-20 15:41:19 UTC
Resolved with revision 10678 of:
  brms-p/pom.xml

Commit message:
  BZ#772643
  Add the build-helper-maven-plugin parse-version goal to populate the version
  properties (required for mangling run.jar).

Comment 2 Julian Coleman 2012-01-20 15:42:55 UTC
Note that the build-helper-maven-plugin appears to be unable to parse the
qualifier "BRMS-ER2", and truncates it to "BRMS".  This is probably only a
problem for non-CR builds though.

Comment 3 Jiri Locker 2012-03-06 13:22:17 UTC
Fix verified in ER4.

Attribute 'VersionNumber' of 'jboss.system:type=Server' MBean is now '5.3.0.BRMS-ER4'.


Note You need to log in before you can comment on or make changes to this bug.