<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’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> <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> <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">"kb-"</font><font face="Courier New, monospace" size="2">+</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> <font face="Courier New, monospace" size="2" color="#0000C0">commonKB</font><font face="Courier New, monospace" size="2">.addKnowledgePackages(kbuilder.getKnowledgePackages()); </font></div>
<div> </div>
<div> </div>
<div><font face="Courier New, monospace" size="2">I see the Mbeans in jconsole. However, don’t have any session information. 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’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"> </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"> </font></div>
<div><font face="Courier New, monospace" size="2">Beena </font></div>
<div> </div>
</font>
</body>
</html>