Bug 745623

Summary: BRMS v5.2 resource will not display server root tree in GUI
Product: [Other] RHQ Project Reporter: Douglas Woods <dowoods>
Component: Core ServerAssignee: Edson Tirelli <etirelli>
Status: CLOSED NOTABUG QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 3.0.0 Beta1CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-10 20:54:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
JON GUI screenshot of BRMS v5.2 inventoried instance none

Description Douglas Woods 2011-10-12 20:48:05 UTC
Created attachment 527785 [details]
JON GUI screenshot of BRMS v5.2 inventoried instance

Description of problem:
BRMS v5.2 instance will be discovered and inventoried but the JON GUI will
not build the root tree on the left frame of the JON GUI.

Version-Release number of selected component (if applicable):
JON v3.0 Beta
Firefox v5.0
HSQL database
BRMS v5.2 default profile
BRMS v5.2 Plugin

How reproducible:
Constant state

Steps to Reproduce:
1.Install BRMS v5.2 plugin
2.Start BRMS v5.2 default instance
3.Inventory discovery BRMS v5.2 default instance
  
Actual results:
JON GUI left frame will not update with server's root tree. 

Expected results:
JON GUI left frame shows server's root tree.

Additional info:

Comment 1 Charles Crouch 2011-10-14 15:53:53 UTC
I think this must be a result of what the BRMS plugin is returning for its child resources. Assigning to Edson, via Len, to see what he sees as part of his plugin development.

Comment 2 Edson Tirelli 2011-10-14 16:51:51 UTC
I do not understand the issue. 

Please note that the BRMS JON plugin monitors runtime BRE agents (knowledge bases, and knowledge sessions). There is no specific features in the BRMS JON plugin for monitoring the repository (Guvnor), other than as a typical web application (.war).

Comment 3 Charles Crouch 2011-10-19 15:18:13 UTC
Doug can you clarify with Edson what the issue is here

Comment 4 Douglas Woods 2011-10-19 20:53:18 UTC
Charles,
If I understand Edson's comment correclty, I need to have a BRE agent instantiated before anything will show up in the JON GUI. I simply have not had time to do this testing, but will have it done by COB this Friday.

Comment 5 Edson Tirelli 2011-10-20 13:52:56 UTC
Douglas, 

That is correct. The BRMS JON plugin monitors runtime BRE instances (not Guvnor).

This previous ticket [1] has in one of my comments down the thread a step by step of what you need to do to monitor a BRMS application. I.e.:

1. Enable the targed JVM to be monitored
2. Enable MBeans in the target application/agent
3. Discover the target application with JON

The target application will be discovered as a JMX server by JON that will contain a "Drools Service" service in the tree with all kbases and ksessions that were instantiated.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=730367

Edson

Comment 6 Douglas Woods 2011-11-10 20:54:47 UTC
Worked as described by Edson Tirelli.