[jboss-jira] [JBoss JIRA] (DROOLS-1316) Missing MBean for Classpath KieContainer causes RHQ/JON plug-in failure to display the whole hierarchy
Matteo Mortari (JIRA)
issues at jboss.org
Tue Oct 4 04:54:00 EDT 2016
[ https://issues.jboss.org/browse/DROOLS-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13302023#comment-13302023 ]
Matteo Mortari commented on DROOLS-1316:
----------------------------------------
This solves the problem of RHQ/JON unable to discover the 1st level parent MXBean for the KieContainer making the MXBean available also when the KieContainer is created from the Classpath, the full 3-level hierarchy is built.
Functional test with RHQ:
!solved.png|thumbnail!
In the screenshot, the Jconsole and JVisualVM is showing the reference nesting of the 3 level, and the actual result on RHQ corresponds correctly. This screenshot has been taken using the demo application(1) using the Classpath KieContainer:
{code:java}
public static void main(String[] args) {
KieServices ks = KieServices.Factory.get();
KieContainer kcontainer = ks.getKieClasspathContainer("abcContainer");
KieSession ksession = kcontainer.newKieSession("rules-session");
...
}
{code}
(1) https://github.com/jomarko/drools-project
> Missing MBean for Classpath KieContainer causes RHQ/JON plug-in failure to display the whole hierarchy
> ------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-1316
> URL: https://issues.jboss.org/browse/DROOLS-1316
> Project: Drools
> Issue Type: Bug
> Components: core engine, integration
> Affects Versions: 6.5.0.CR2, 7.0.0.Beta1
> Reporter: Matteo Mortari
> Assignee: Matteo Mortari
> Fix For: 6.5.0.Final, 7.0.0.Beta3, 7.0.0.Final
>
> Attachments: solved.png
>
>
> As RHQ/JON is able to discover the MBean for the KieBase and KieSession but unable to locate the MXBean for the KieContainer, would fail to display the whole hierarchy.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list