Mark,<br><br>I hope you saw that my earlier problem had to do with the fact that the JBoss Rules IDE did not include the jar file for theclass Java compiler.&nbsp; Once I added it, it started to work.&nbsp; is this a bug in the JBoss Rules IDE as I never had to do this before?
<br><br>Now onto the other problem, does that mean I have to do something like drools.getWorkingMemory().getQueryResults() then?<br><br>Thanks Again!<br><br>Ron<br><br><div><span class="gmail_quote">On 7/3/07, <b class="gmail_sendername">
Mark Proctor</b> &lt;<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  

<div bgcolor="#ffffff" text="#000000">
We have slimmed down what KnowledgeHelper does, so it only does
operations involving the current rules context (i.e. the Tuple of
matched data), as KH supplies access to the WorkingMemory you can
simply call getQueryResults on that.<span class="q"><br>
<br>
Mark<br>
Ronald R. DiFrango wrote:
</span><blockquote type="cite"><div><span class="e" id="q_1138e428f7c2e1cd_3">OK, I got this workinkg now, by adding the jar file <span style="font-weight: bold;">core-3.2.3.v_686_R32x.jar</span> from the
distribution to my project.<br>
  <br>
Now though when I run it, I get the following error:<br>
  <br>
The method getQueryResults(String) is undefined for the type
KnowledgeHelper<br>
  <br>
has getQueryResults been removd in 4.x or renamed?<br>
  <br>
  <div><span class="gmail_quote">On 7/3/07, <b class="gmail_sendername">Ronald
R. DiFrango
  </b> &lt;<a href="mailto:ron.difrango@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ron.difrango@gmail.com</a>&gt;
wrote:</span>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">All,<br>
    <br>
I am in the process of migrating my 3.0. project to the 4.x series and
when I attempt to run my code I get the following exception when I
attempt to load my .drl files:<br>
    <br>
Caused by: org.drools.RuntimeDroolsException
: Unable to load dialect
&#39;org.drools.rule.builder.dialect.java.JavaDialect:java&#39;<br>
    <br>
Here is my package builder code:<br>
    <br>
static<br>
&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; try<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; builder = new PackageBuilder();
    <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; builder.addPackageFromDrl( new InputStreamReader(
RtvDecisionEngine.class.getResourceAsStream(&quot;rtv.drl&quot; ) ) );<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; builder.addPackageFromDrl( new InputStreamReader(
RtvDecisionEngine.class.getResourceAsStream
(&quot;modelDiscrepancyRules.drl&quot; ) ) );<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ruleBase = RuleBaseFactory.newRuleBase();<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ruleBase.addPackage( builder.getPackage() );<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; catch(Exception e)<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; throw new RuntimeException(&quot;Failure loading the Rules&quot;, e);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; }<br>
    <br>
    <br>
Any thoughts appreciated.<br>
    <br>
Ron<br>
  </blockquote>
  </div>
  <br>
  </span></div><pre><span class="q">
<hr size="4" width="90%">
_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rules-users@lists.jboss.org
</a>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </span></pre>
</blockquote>
<br>
</div>

<br>_______________________________________________<br>rules-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br></blockquote></div><br>