Re: [rules-users] Error running Drools example : org.drools.WorkingMemory not found

2010-05-05 Thread Rajnikant Gupta
Hi, The WorkingMemory class is inside org.drools package and not inside org.drools.WorkingMemory. Also make sure that you include all the dependency jars. As in my case I also have - drools-compiler-4.0.4.jar - drools-jsr94.jar etc Regards, Rajnikant Gupta http://rkthinks.wordpress.com/ 2010

Re: [rules-users] addKnowledgePackages Delay

2010-05-03 Thread Rajnikant Gupta
As I said earlier It *may* or *may not* be relevant in your case. Usually caching improves performance significantly in drools. In case of our application it does so by a very significant factor. Regards, Rajnikant Gupta http://rkthinks.wordpress.com/ 2010/5/3 Moe Alkhafaji > Hmmm, so

Re: [rules-users] addKnowledgePackages Delay

2010-05-03 Thread Rajnikant Gupta
ime, you may have to look at caching at more lower levels. I am not sure whether this can be helpful in your case but this is often helpful. Regards, Rajnikant Gupta http://rkthinks.wordpress.com/ 2010/5/3 Moe Alkhafaji > Thanks for the reply. But I don't understand what you mean by

Re: [rules-users] addKnowledgePackages Delay

2010-05-02 Thread Rajnikant Gupta
Hi, Yes, adding packages to knowledgeBase does take some time. You can probably try caching your knowledgeBase. By doing this all, but first, requests should be significantly fast. Regards, Rajnikant Gupta http://rkthinks.wordpress.com/ On Mon, May 3, 2010 at 11:36 AM, malkhafaji wrote

Re: [rules-users] RuleAgent in webservice

2010-04-30 Thread Rajnikant Gupta
Try putting your .properties file inside "WEB-INF/classes" folder of your context. Regards, Rajnikant Gupta http://rkthinks.wordpress.com/ On Fri, Apr 30, 2010 at 2:35 PM, Gayatri Chandak wrote: > Hi, > > I had also faced the same problem. > Use the below c

Re: [rules-users] rules on web application

2010-04-20 Thread Rajnikant Gupta
One of the possible ways could be to publish your rule as web service so that it can be called by any web application. Regards, Rajnikant Gupta http://rkthinks.wordpress.com/ 2010/4/20 joseramon diaz > Thanks Wolfgang, > I have been looking at DSLs, seems to be a very interesting c

Re: [rules-users] Tuples in Agenda Item.

2010-04-09 Thread Rajnikant Gupta
BaseType, If both of them are inserted in WorkingMemory. Doesn't the tuple contain all the objects inserted in WM. Regards, Rajnikant Gupta 2010/4/9 Wolfgang Laun > Regarding Issue 1: > Even if you do have different objects of ConcreteType1, the rule is fired > for each of the

Re: [rules-users] Tuples in Agenda Item.

2010-04-08 Thread Rajnikant Gupta
ing wrong audit. Regards, Rajnikant Gupta Sr. Software Engineer GlobalLogic,Noida 09899530562 http://rkthinks.wordpress.com/ 2010/4/9 Greg Barton > We need some rule code to get a better idea of what's going on. Can you > post some? > > --- On *Thu, 4/8/10, Rajnikant Gupta * wro

[rules-users] Tuples in Agenda Item.

2010-04-08 Thread Rajnikant Gupta
Hi, I have a doubt regarding tuples. I created a rule using complex types objects. I am comparing two complex type objecs which have parent-child relationship eg. "ParentType.equals(ChildType)". I expect this to follow java rule which allows such comparision. Now when I run the rules with differen

[rules-users] Query about the state of tuples in AgendaItem.

2010-03-29 Thread Rajnikant Gupta
rules with different values for fields in ParentType and ChildType (which means the rule should fail) to my surprise it evals to TRUE. Also upon inspection, the tuple shows me only the ChildType instance not the ParentType. I would appreciate any help on this. Regards, Rajni