<p>drlFile = BusinessRuleUtils.createCombinedDrlDocument(id,map.get(id));<br> PackageBuilder PACKAGE_BUILDER = new PackageBuilder(BUILDER_CONFIGURATION);<br> org.drools.rule.Package pkg = null;<br> PACKAGE_BUILDER<br>
.addPackageFromDrl(new StringReader(drlFile));<br> if (PACKAGE_BUILDER.hasErrors()) {<br> DSM_LOGGER<br> .logFatal("Error has occured while building package. For Parameter ID : "<br> + id<br>
+ " Error details are : "<br> + PACKAGE_BUILDER.getErrors()<br> .toString());<br> } else {<br> pkg = PACKAGE_BUILDER.getPackage();<br> RULEBASE.addPackage(pkg);<br> DSM_LOGGER<br>
.logInfo("Package created for Component Prmr ID : "<br> + id);<br> }</p>
<p> </p>
<div>This is the code which i am using at it is not giving</div>
<div>any error at the time creating the drl <a href="http://file.it">file.it</a> is also </div>
<div>not giving any error at the time of calling of execute()</div>
<div>method , but rules are not executed .</div><br><br>
<div><span class="gmail_quote">On 5/4/10, <b class="gmail_sendername">Wolfgang Laun</b> <<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Anatoly,<br><br>please note that I wrote "please" to Puneet, which is usually not considered<br>
as being "impolite". Also, kindly note that I asked for more information, which,<br>in my book, is not "inconsiderate", as simply deleting Puneet's post might have been.<br><br>I do resent being called a "hater", and I'll let the community judge whether<br>
my (admittedly ironic) kidding is "hateful". Somehow, however, posters have to<br>be admonished to state their problem more detailed, without people on the<br>list having to waste their time playing guessing games or writing replies begging<br>
for more information. <br><span class="sg"><br>-W<br></span><br>PS: A you can see now, it was not a question of "debugging", and so you have wasted<br>your time on a "simple question". :-)
<div><span class="e" id="q_12861ef55ae2ef3d_3"><br><br><br>
<div class="gmail_quote">On Tue, May 4, 2010 at 5:10 AM, tolitius <span dir="ltr"><<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:webakaunt@gmail.com" target="_blank">webakaunt@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"><br><br>@Wolfgang,<br><br> No need to be a hater Wolfgang, the question is simple. I agree,<br>
examples would be helpful, but that is NOT how you grow a friendly<br>community.<br><br> Community is the biggest problem JBoss has. Why is it so inhumanly<br>difficult to be polite and considerate?<br><br>/Anatoly<br><font color="#888888"><br>
--<br>View this message in context: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://drools-java-rules-engine.46999.n3.nabble.com/Rules-doubt-tp774023p775029.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Rules-doubt-tp774023p775029.html</a><br>
Sent from the Drools - User mailing list archive at Nabble.com.<br>_______________________________________________<br>rules-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org" target="_blank">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></font></blockquote></div><br>
</span></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>