<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri, sans-serif" size="2">
<div>I&#8217;ve enabled JMX using the following configuration</div>
<div><font face="Courier New, monospace" size="2">KnowledgeBaseConfiguration <span style="background-color:#FFFF00">kbaseConf</span> = KnowledgeBaseFactory.<i>newKnowledgeBaseConfiguration</i>();</font></div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font face="Courier New, monospace" size="2"><span style="background-color:#C0C0C0">kbaseConf</span></font><font face="Courier New, monospace" size="2">.setOption(MBeansOption.</font><font face="Courier New, monospace" size="2" color="#0000C0"><i>ENABLED</i></font><font face="Courier New, monospace" size="2">);</font></div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font face="Courier New, monospace" size="2" color="#0000C0">commonKB</font><font face="Courier New, monospace" size="2"> = KnowledgeBaseFactory.</font><font face="Courier New, monospace" size="2"><i>newKnowledgeBase</i></font><font face="Courier New, monospace" size="2">(</font><font face="Courier New, monospace" size="2" color="#2A00FF">&quot;kb-&quot;</font><font face="Courier New, monospace" size="2">&#43;</font><font face="Courier New, monospace" size="2" color="#0000C0">gameCode</font><font face="Courier New, monospace" size="2">,
</font><font face="Courier New, monospace" size="2"><span style="background-color:#C0C0C0">kbaseConf</span></font><font face="Courier New, monospace" size="2">);</font></div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font face="Courier New, monospace" size="2" color="#0000C0">commonKB</font><font face="Courier New, monospace" size="2">.addKnowledgePackages(kbuilder.getKnowledgePackages());&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><font face="Courier New, monospace" size="2">I see the Mbeans in jconsole. However, don&#8217;t have any session information.&nbsp; I tried using both stateless and stateful sessions. </font></div>
<div><font face="Courier New, monospace" size="2">From looking at the source code stateful sessions are automatically registered.</font></div>
<div><font face="Courier New, monospace" size="2">I&#8217;m looking for sessions stats for rules such as totalActivationsCreated, totalActivationsFired, etc. </font></div>
<div><font face="Courier New, monospace" size="2">Is there something I need to do to enable that? </font></div>
<div><font face="Courier New, monospace" size="2">&nbsp;</font></div>
<div><font face="Courier New, monospace" size="2">Any help would be greatly appreciated</font></div>
<div><font face="Courier New, monospace" size="2">&nbsp;</font></div>
<div><font face="Courier New, monospace" size="2">Beena </font></div>
<div>&nbsp;</div>
</font>
</body>
</html>