Bug 1149093

Summary: In JON, JDG server 6.4.0 reports version 6.3.0.GA which is wrong (kill version.txt from EAP)
Product: [JBoss] JBoss Data Grid 6 Reporter: Tomas Sykora <tsykora>
Component: JON PluginAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Gencur <mgencur>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: dstahl, jdg-bugs, ttarrant
Target Milestone: ER8   
Target Release: 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1153111, 1183064    

Description Tomas Sykora 2014-10-03 08:28:17 UTC
I am sure that there is 6.4.0.ER1 installed on agent machines, however, JON gui reports there is 6.3.0.GA version of JDG server. This is wrong and I need to look at the cause of this issue. 

The strange thing is that in current JDG tag/branch there is NO "6.3.0.GA" string so I suspect maybe JON decisioning mechanisms or interference with EAP server or EAP plugin. 

No JIRA this time, product-related issue.

Comment 2 Tomas Sykora 2014-10-07 12:05:54 UTC
We state in server_home/version.txt:

Red Hat JBoss Enterprise Application Platform - Version 6.3.0.GA

Which obviously should be:

Red Hat JBoss Data Grid - Version 6.4.0 (+ current release)

However, this does not need to solve the problem completely. Experimenting...

Comment 3 Tomas Sykora 2014-10-07 12:16:32 UTC
Done with experimenting...

This works pretty well. We need to state proper product name and version in version.txt file in server_home folder. 

That's all. 


Just a note: 

https://github.com/rhq-project/rhq/blob/master/modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/BaseProcessDiscovery.java#L688

explain how version discovery works in RHQ.

Comment 4 Tomas Sykora 2014-10-07 12:54:57 UTC
version.txt file comes from EAP and needs to be removed.

Comment 6 Tomas Sykora 2015-01-02 11:12:01 UTC
This has been fixed and works like a charm in 6.4.0.ER8 build. Thanks Tristan and Dave!