[jboss-jira] [JBoss JIRA] (DROOLS-512) KSession MBeans are no longer created.

Mario Fusco (JIRA) issues at jboss.org
Fri Oct 24 12:49:35 EDT 2014


     [ https://issues.jboss.org/browse/DROOLS-512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco resolved DROOLS-512.
--------------------------------
    Fix Version/s: 6.2.0.CR2
       Resolution: Done


Fixed by https://github.com/droolsjbpm/drools/commit/35afe30dc

> KSession MBeans are no longer created.
> --------------------------------------
>
>                 Key: DROOLS-512
>                 URL: https://issues.jboss.org/browse/DROOLS-512
>             Project: Drools
>          Issue Type: Bug
>    Affects Versions: 6.1.0.Beta4
>            Reporter: Mike Wilson
>            Assignee: Mario Fusco
>             Fix For: 6.2.0.CR2
>
>
> After upgrading drools dependencies from version 6.0.2-SNAPSHOT to 6.1.0-SNAPSHOT, the mbeans that used to be created for each KieSession no longer get created.
> The problem seems to have been introduced when the StatefulKnowledgeSessionImpl constructor was modified in this commit made by [~mfusco]: https://github.com/droolsjbpm/drools/commit/1f8dc32725276a68456c5c4315c6a7c0b3f222ad
> The previous version of the constructor made a call to StatefulKnowledgeSession.setKnowledgeRuntime(InternalKnowledgeRuntime kruntime), which resulted in the ksession mbean being created and registered.
> I tried adding the following line to the end of the constructor, and the ksession mbeans started to get created again:
> {code}
> setKnowledgeRuntime(this);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list