<DIV>
<DIV>
<DIV>hello,everyone!I wrote a rule with Drools,but the error told me that the field Server.Message is not visible, I can't find how it happens. Please help me, I am almost exhausted with it. thank you.</DIV>
<DIV>the rules&nbsp;are as follows:</DIV>
<DIV>&nbsp;</DIV>
<DIV>package com.sample</DIV>
<DIV>import com.sample.Server;</DIV>
<DIV>&nbsp;</DIV>
<DIV>rule "system will execute 'tc' command"<BR>&nbsp;when<BR>&nbsp;&nbsp;&nbsp; eval(Server.Message&gt;8388608)<BR>&nbsp;then <BR>&nbsp;&nbsp;&nbsp;&nbsp; System.out.println("The network is so crowd that it needs repairing.");<BR>&nbsp;&nbsp;Runtime.getRuntime().exec("tc");#execute the "tc" command<BR>end</DIV>
<DIV>&nbsp;</DIV>
<DIV>rule "caution"<BR>&nbsp;&nbsp;&nbsp; when <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eval(Server.Message==8388608)<BR>&nbsp;&nbsp;&nbsp; then <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println("caution!The network maybe will get blocked very soon.");<BR>end </DIV>
<DIV>&nbsp;</DIV>
<DIV>rule "fluent network"<BR>&nbsp;&nbsp;when<BR>&nbsp;&nbsp;eval(Server.Message&lt;8388608)#conditions<BR>&nbsp;then <BR>&nbsp;&nbsp;System.out.println("the current network is very good");#actions<BR>end</DIV></DIV><BR></DIV> <br><!-- urlfiles --><br><br><!-- footer --><br>