<div dir="ltr"><br><div>   Rupesh,</div><div><br></div><div>   This should be working. Can you provide me with a self-contained project in eclipse or a test case that I can reproduce/verify here? We have another cut tomorrow, so if you read this and can provide me with a test case before tomorrow EOD, I can check and make sure it is working.</div>
<div><br></div><div>   Thanks,</div><div>    Edson</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 16, 2013 at 3:47 AM, Rupesh M G <span dir="ltr">&lt;<a href="mailto:rupesh.gopinathan@ibsplc.com" target="_blank">rupesh.gopinathan@ibsplc.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div lang="EN-IN" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">                JConsole (of Oracle JDK 1.7) is not listing the drools expert 6 mbeans.
</p>
<p class="MsoNormal">I tried the following Drools 6 sample KieContainerFromKieRepoExample.</p>
<p class="MsoNormal">I set the JVM option -Ddrools.mbeans=enabled, but JConsole did not list the mbeans.</p>
<p class="MsoNormal">When I tried the same in a Drools 5.5 sample, the mbeans were listed in JConsole.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Is it a bug in Drools expert 6? Or did I miss any required step for 6? Please help.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">    public void go(PrintStream out) {</p>
<p class="MsoNormal">        KieServices ks = KieServices.Factory.get();</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">        // Install example1 in the local maven repo before to do this</p>
<p class="MsoNormal">        KieContainer kContainer = ks.newKieContainer(ks.newReleaseId(&quot;org.drools&quot;, &quot;named-kiesession&quot;, &quot;6.0.0-SNAPSHOT&quot;));</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">        KieSession kSession = kContainer.newKieSession(&quot;ksession1&quot;);</p>
<p class="MsoNormal">        kSession.setGlobal(&quot;out&quot;, out);</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">        Object msg1 = createMessage(kContainer, &quot;Dave&quot;, &quot;Hello, HAL. Do you read me, HAL?&quot;);</p>
<p class="MsoNormal">        kSession.insert(msg1);</p>
<p class="MsoNormal">        kSession.fireAllRules();</p>
<p class="MsoNormal">    }</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks &amp; Regards,</p>
<p class="MsoNormal">Rupesh</p>
</div>
<br>
<br>
DISCLAIMER: <font color="#999999" size="1" face="Tahoma">&quot;The information in this e-mail and any attachment is intended only for the person to whom it is addressed and may contain confidential and/or privileged material. If you have received this e-mail in
 error, kindly contact the sender and destroy all copies of the original communication. IBS makes no warranty, express or implied, nor guarantees the accuracy, adequacy or completeness of the information contained in this email or any attachment and is not
 liable for any errors, defects, omissions, viruses or for resultant loss or damage, if any, direct or indirect.&quot;</font><br>
<font size="1"></font>
</div>

<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">  Edson Tirelli<br>
  Principal Software Engineer <div>  Red Hat Business Systems and Intelligence Group<br><br></div></div>
</div>