<div><br></div>     Ok, it seems the problem is not the configuration file then, but the operator itself. There were some changes on how MVEL analyzes and executes expressions and this seems to be related to that...<div><br>
</div><div>     Can you provide an isolated test case with your operator so that we can reproduce the problem?</div><div><br></div><div>     Thanks.<br><br><div class="gmail_quote">On Fri, Jun 1, 2012 at 11:51 AM, Matteo Cusmai <span dir="ltr">&lt;<a href="mailto:cusmaimatteo@gmail.com" target="_blank">cusmaimatteo@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Mario,<br>i have tried to put it every where.<br><br>The strange thing is that if i use 5.3 it is with file under /home/myhomefolder and if i use 5.4 i get this error:<br>
<br>ERROR [2012-06-01 17:37:27,588] [VSensorLoader-Thread0] (ExpertSystemManager.java:63)     - Unable to Analyse Expression $vehicle_type == type &amp;&amp; geoIsWithinDistance0.evaluate( $location, source.getGeometry() ):<br>

     [java] [Error: unable to resolve method using strict-mode: org.dfms.model.mapfeature.Route.geoIsWithinDistance0()]<br>     [java] [Near : {... cle_type == type &amp;&amp; geoIsWithinDistance0.evaluate( ....}]<br>     [java]                                  ^ : [Rule name=&#39;VehicleAtRouteStart-event&#39;]<br>

     [java] Unable to Analyse Expression $vehicle_type == type &amp;&amp; geoIsWithinDistance0.evaluate( $location, source.getGeometry() ):T<br>     [java] [Error: unable to resolve method using strict-mode: org.dfms.model.mapfeature.Route.geoIsWithinDistance0()]<br>

     [java] [Near : {... cle_type == type &amp;&amp; geoIsWithinDistance0.evaluate( ....}]<br>     [java]                                  ^ : [Rule name=&#39;VehicleAtRouteStart-update&#39;]<br><br>where geo&lt;xxxx&gt; are custom evaluator.<br>

<br>What do you think?<div class="HOEnZb"><div class="h5"><br><br><br><div class="gmail_quote">On Fri, Jun 1, 2012 at 5:29 PM, Mario Fusco <span dir="ltr">&lt;<a href="mailto:mario.fusco@gmail.com" target="_blank">mario.fusco@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Matteo,<br>
<br>
Drools loads conf files from several places and merge them including home<br>
directory, meta-inf directory, etc. This is the class that does this job and<br>
as you can see it isn&#39;t changed in the last year:<br>
<br>
<a href="https://github.com/mariofusco/droolsjbpm-knowledge/blob/master/knowledge-api/src/main/java/org/drools/util/ChainedProperties.java" target="_blank">https://github.com/mariofusco/droolsjbpm-knowledge/blob/master/knowledge-api/src/main/java/org/drools/util/ChainedProperties.java</a><br>


<br>
In particular, as you can see at line 71, it should try to load the conf<br>
file also from your home folder. I don&#39;t know why it is not working in your<br>
case. Probably are you launching it with the wrong user? Alternatively you<br>
could also try to put that conf file in a folder named META_INF in your<br>
classpath.<br>
<br>
I hope this helps,<br>
Mario<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/rules-users-drools-packagebuilder-conf-tp4017706p4017723.html" target="_blank">http://drools.46999.n3.nabble.com/rules-users-drools-packagebuilder-conf-tp4017706p4017723.html</a><br>


Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
<div><div>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
</div></div></blockquote></div><br>
</div></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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>
</div>