<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText58290 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hello all</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>I am using Drools 4.0.3</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>I want to remove rules from a <STRONG>InvalidRulePackage </STRONG>during the run time of the java program.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>For this I am using <STRONG>removeRule(<FONT color=#0000ff>String</FONT> packageName, <FONT color=#0000ff>String</FONT> ruleName) </STRONG>method in my program but it is giving me the following exception:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><STRONG>org.drools.rule.InvalidRulePackage: Rule Compilation error : [Rule name=valsubmitLoanApplication_0_1195817550531, agendaGroup=EMPLoanApp_submitLoanApplication, salience=8, no-loop=false]<BR>&nbsp;jbossrules/Rule_valsubmitLoanApplication_0_1195817550531_0.java (36:0) : File jbossrules/Rule_valsubmitLoanApplication_0_1195817550531_0.java, Line 36, Column 0: Line break in literal not allowed<BR>Rule Compilation error : [Rule name=valsubmitLoanApplication_0_1195817550531, agendaGroup=EMPLoanApp_submitLoanApplication, salience=8, no-loop=false]<BR>&nbsp;jbossrules/Rule_valsubmitLoanApplication_0_1195817550531_0.java (36:0) : File jbossrules/Rule_valsubmitLoanApplication_0_1195817550531_0.java, Line 36, Column 0: Line break in literal not allowed</STRONG></DIV>
<DIV dir=ltr><STRONG>&nbsp;at org.drools.rule.Package.checkValidity(Package.java:424)<BR>&nbsp;at org.drools.common.AbstractRuleBase.addPackage(AbstractRuleBase.java:361)<BR>&nbsp;at com.wipro.evalidator.validation.impl.DroolsValidator.validateXML(DroolsValidator.java:427)<BR>&nbsp;at com.wipro.evalidator.validation.impl.DroolsValidator.validate(DroolsValidator.java:176)<BR>&nbsp;at TestDrool.main(TestDrool.java:87)<BR>org.drools.rule.InvalidRulePackage: Rule Compilation error : [Rule name=valsubmitLoanApplication_0_1195817550531, agendaGroup=EMPLoanApp_submitLoanApplication, salience=8, no-loop=false]<BR>&nbsp;jbossrules/Rule_valsubmitLoanApplication_0_1195817550531_0.java (36:0) : File jbossrules/Rule_valsubmitLoanApplication_0_1195817550531_0.java, Line 36, Column 0: Line break in literal not allowed<BR>Rule Compilation error : [Rule name=valsubmitLoanApplication_0_1195817550531, agendaGroup=EMPLoanApp_submitLoanApplication, salience=8, no-loop=false]<BR>&nbsp;jbossrules/Rule_valsubmitLoanApplication_0_1195817550531_0.java (36:0) : File jbossrules/Rule_valsubmitLoanApplication_0_1195817550531_0.java, Line 36, Column 0: Line break in literal not allowed</STRONG></DIV>
<DIV dir=ltr><STRONG>&nbsp;at org.drools.rule.Package.checkValidity(Package.java:424)<BR>&nbsp;at org.drools.common.AbstractRuleBase.addPackage(AbstractRuleBase.java:361)<BR>&nbsp;at com.wipro.evalidator.validation.impl.DroolsValidator.validateXML(DroolsValidator.java:427)<BR>&nbsp;at com.wipro.evalidator.validation.impl.DroolsValidator.validate(DroolsValidator.java:176)<BR>&nbsp;at TestDrool.main(TestDrool.java:87)<BR>org.drools.rule.InvalidRulePackage: Rule Compilation error : [Rule name=valsubmitLoanApplication_0_1195817550531, agendaGroup=EMPLoanApp_submitLoanApplication, salience=8, no-loop=false]<BR>&nbsp;jbossrules/Rule_valsubmitLoanApplication_0_1195817550531_0.java (36:0) : File jbossrules/Rule_valsubmitLoanApplication_0_1195817550531_0.java, Line 36, Column 0: Line break in literal not allowed<BR>Rule Compilation error : [Rule name=valsubmitLoanApplication_0_1195817550531, agendaGroup=EMPLoanApp_submitLoanApplication, salience=8, no-loop=false]<BR>&nbsp;jbossrules/Rule_valsubmitLoanApplication_0_1195817550531_0.java (36:0) : File jbossrules/Rule_valsubmitLoanApplication_0_1195817550531_0.java, Line 36, Column 0: Line break in literal not allowed</STRONG></DIV>
<DIV dir=ltr><STRONG>&nbsp;at org.drools.rule.Package.checkValidity(Package.java:424)<BR>&nbsp;at org.drools.common.AbstractRuleBase.addPackage(AbstractRuleBase.java:361)<BR>&nbsp;at com.wipro.evalidator.validation.impl.DroolsValidator.validateXML(DroolsValidator.java:427)<BR>&nbsp;at com.wipro.evalidator.validation.impl.DroolsValidator.validate(DroolsValidator.java:176)<BR>&nbsp;at TestDrool.main(TestDrool.java:87).</STRONG></DIV>
<DIV dir=ltr><STRONG></STRONG>&nbsp;</DIV>
<DIV dir=ltr>Now suggest me that how can I remove rules successfully.</DIV>
<DIV dir=ltr>Please reply because it's very important.</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>Thanks.</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV></DIV>
<DIV id=idSignature22879 dir=ltr>
<DIV><FONT face=Arial size=2><EM><STRONG>With Regards</STRONG></EM></FONT></DIV>
<DIV><FONT face=Arial size=2><EM><STRONG>Prateek</STRONG></EM></FONT></DIV></DIV></BODY></HTML>
<table><tr><td bgcolor=#ffffff><font color=#000000><br>
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. <br>
<br>
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.<br>
 <br>
www.wipro.com<br>
</font></td></tr></table>