Re: [rules-users] Uploading the fact model to the DRools BRMS

2008-01-18 Thread Rahul Upadhyay
That I am Saying My Dear.. You Problem is Class Version No. Find out somting about That. I am sure.. you are missing some class that needs to import. do one thing.. add all the classes that you have in you application.. If you extend some class then add it also in jaar. that it On Jan 18,

Re: [rules-users] JBRMS 4.0.4 issues

2008-01-18 Thread mmquelo massi
Hi pope :-P (joking...joking) I do not understand what you wrote here: *5. Unzip the jboss_jsf_libs file and copy the all the files from the lib directory of your lib directory of your Application Server installation. If you have paths to these files already set in your environment, make sure

[rules-users] Exception: Conversion to long not supported for type: class org.drools.examples.BilboAndTheDwarfs$DwarfShadowProxy

2008-01-18 Thread gnumpf2006-drools
Hi Mailinglist, as discussed with tirelli in irc chat yesterday, I am sending my code: I modified the golfer example with an other riddle. I wrote all given rules and when I run the code I get an Exception in thread main org.drools.RuntimeDroolsException: Conversion to long not supported for

Re: [rules-users] Exception: Conversion to long not supported for type: class org.drools.examples.BilboAndTheDwarfs$DwarfShadowProxy

2008-01-18 Thread Edson Tirelli
Oliver, In you Bilbo pattern you wrote: pos $Ori, pos is an int attribute, while $Ori is bound to a Dwarf object. It is not possible to convert one type into the other to make the comparison. []s Edson 2008/1/18, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi

Re: [rules-users] JBRMS 4.0.4 issues

2008-01-18 Thread Fernando Meyer
Nope, You shouldn't change anything if you are using jboss AS, just if you are using tomcat or other container On Jan 18, 2008 7:40 AM, mmquelo massi [EMAIL PROTECTED] wrote: Hi pope :-P (joking...joking) I do not understand what you wrote here: *5. Unzip the jboss_jsf_libs file and

Re: [rules-users] Rules Pattern Map['key'] does not work in trunk

2008-01-18 Thread Edson Tirelli
I did not ran your code, but looking at your rules file, I don't see you updating your container class after changing it's map attribute values: rule modify #enabled false ruleflow-group modify salience 20 when c : MyContainer( $map : map ) then list.add(test );

@Edson: Thanks! (AW: [rules-users] Exception: Conversion to long not supported for type: ...)

2008-01-18 Thread gnumpf2006-drools
Hi Edson, Of course, you are right! Thank you very much for finding my stupid mistake. I just forgot to type .pos I just fixed some other bug and now it is working fine. Best regards, Oliver (aka Hightower, gnumpf2006) Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:

Re: [rules-users] Rules Pattern Map['key'] does not work in trunk

2008-01-18 Thread Edson Tirelli
What problem are you seeing? We do have a few tests for that and they are working in trunk, so, maybe you can provide us the code snippet you are using to test that so that I can reproduce the problem in my local machine? []s Edson 2008/1/18, Philokratis [EMAIL PROTECTED]: Hi

[rules-users] Rules Pattern Map['key'] does not work in trunk

2008-01-18 Thread Philokratis
Hi guys, I have the following rule that does not give the expected result, I have succesfully tried to bind the map[key] to a variable but again '==' does not work as expected. Is there any error in the rule or the way Map is used ? Thanks * rule* report3 *when * MyContainer( map['test1']

RE: [rules-users] Uploading the fact model to the DRools BRMS

2008-01-18 Thread Jones, Alan R
Actually I am having the same problem... I create a jar from a schema containing all the classes that the rule will work with. In the BRMS, I upload it as an asset in a model archive. Then when I edit package config, I put import statements per the following: import

RE: [rules-users] Uploading the fact model to the DRools BRMS

2008-01-18 Thread jack80
Also I have the same problem.. someone can explain which exactly are the steps to follow? how must be created the property file in the jar? an example.. thanks in advance Jones, Alan R wrote: Actually I am having the same problem... I create a jar from a schema containing all the classes

[rules-users] Re: [ccapi] Trying out the new TradeSystem...onCandle isnt being called

2008-01-18 Thread Henry Canterburry
Mike, Yup...I saw earlier that start had become final so I changed it to setup and terminate which you commented should be extended. I also removed the @Start annotation and are not observing any duplicate activation. I'll remove my broker setter too. As I was mentioning to Eric earlier, I