[rules-users] Problem with function

2007-07-23 Thread Natraj Gudla
With 4.0.0 i am getting the run time exception on functions. what could be the problem *Exception* ** * java.lang.NullPointerException * at org.drools.base.ClassTypeResolver.resolveType(*ClassTypeResolver.java:127 *) at org.drools.rule.builder.dialect.java.JavaFunctionBuilder.build(* JavaFuncti

[rules-users] Re: ConcurrentModificationException in Drools...

2007-07-23 Thread Arjun Dhar
> Just info, I ran a test on about a million requests (loop) and 50 threads. > approx 6 business Obectts and 15 rules. I did get any concurrent modfication > issues on JBoss Rules 4. Can you please post the rule scripts/DRL used > > regards, > Arjun > Sorry Typo. I was saying is I "did not" g

Re: [rules-users] The effect of not using shadow facts

2007-07-23 Thread Ronald R. DiFrango
Anthony, If you have a choice on your binding framework, I might suggesting switching to Castor. I had the same problem you experienced and switched to Castor and it worked like a champ. Ron On 7/23/07, trandinh tho <[EMAIL PROTECTED]> wrote: Hello, I got same problem to Chris's. Java classe

Re: [rules-users] The effect of not using shadow facts

2007-07-23 Thread trandinh tho
Hello, I got same problem to Chris's. Java classes are generated from XML schema (using XMLBean). And the problem occurs when I try to assert objects of those classes into working memory. The exception is: java.lang.VerifyError: class b2BContext.impl.UserImplShadowProxy overrides final method

[rules-users] Few rules, many facts

2007-07-23 Thread Yuri de Wit
I am working on a drools application with few rules and large number of facts. In my first design I tried to avoid excessive joins thinking I was helping improve performance but didnt realized that I was actually shooting myself in the foot. I was basically creating a single facade-fact that would

[rules-users] Modify Object and Fact Handles

2007-07-23 Thread dpark
I'm in the process of upgrading from 2.1 to 3.0 and I've noticed the signature for knowledgeHelper.modifyObject( Object object ) has changed to include a FactHandle for it. Architecturally, does this imply that a list of all fact handles for all asserted objects has to be maintained in order for

[rules-users] Re: Decision Table - Object equality example

2007-07-23 Thread Arjun Dhar
dpark exchangesolutions.com> writes: > > > I'm in the process of upgrading our decision table rules from 2.1 to 3.0. > However I've run into a bit of a snag that I hope someone can help me with. > > We have a generalized consolidation rule that: > * takes 2 parameters of the same Object Type

[rules-users] Decision Table - Object equality example

2007-07-23 Thread dpark
I'm in the process of upgrading our decision table rules from 2.1 to 3.0. However I've run into a bit of a snag that I hope someone can help me with. We have a generalized consolidation rule that: * takes 2 parameters of the same Object Type * makes sure that they don't point to the same referen

[rules-users] Re: Decision Table does not support Agenda Groups

2007-07-23 Thread Arjun Dhar
> I need to do two things: > 1. Support sequencing of rule groups > 2. allow two modes: a. Execute all rules, b. Break on first rule ..ok, let me go one level further, ...even if the decision table does not support it; I want to dynamically invoke it. This is what I really want. I.e. If the swi

[rules-users] Re: ConcurrentModificationException in Drools...

2007-07-23 Thread Arjun Dhar
Edson Tirelli post.com> writes: > > >    Can you please provide details or better yet a self contained example that shows the problem.   []s   Edson > 2007/7/23, McShiv < > rajesh_sachin10 yahoo.co.in>: > Hi, I am getting the following error when I try to run the rules in > bulk(EG: 5 or

[rules-users] Decision Table does not support Agenda Groups

2007-07-23 Thread Arjun Dhar
Hi, I reported this earlier also, I cant understand why do we not provide AGENDA- Group support for Decision tables, while we do provide Activation? See DefaultRuleSheetListener. I need to do two things: 1. Support sequencing of rule groups 2. allow two modes: a. Execute all rules, b. Break on f

Re: [rules-users] ConcurrentModificationException in Drools...

2007-07-23 Thread Edson Tirelli
Can you please provide details or better yet a self contained example that shows the problem. []s Edson 2007/7/23, McShiv <[EMAIL PROTECTED]>: Hi, I am getting the following error when I try to run the rules in bulk(EG: 5 or 6 rules together). But when I start running the rules in

[rules-users] Drools 4.0 maven2 repository?

2007-07-23 Thread Eugeny N Dzhurinsky
Hello! Could somebody please point me where is it possible to find Drools 4.0 repository for Maven2? http://repository.jboss.com/maven2/org/drools/ contains versio 3.0.5 latest. Thanks in advance! -- Eugene N Dzhurinsky ___ rules-users mailing list

[rules-users] ConcurrentModificationException in Drools...

2007-07-23 Thread McShiv
Hi, I am getting the following error when I try to run the rules in bulk(EG: 5 or 6 rules together). But when I start running the rules individually, all the rules are working fine. 0060 SystemErr R org.drools.spi.ConsequenceException: java.util.ConcurrentModificationException

Re: [rules-users] JBossRules and JAVA Servlet / JSP (part2)

2007-07-23 Thread Fernando Meyer
Hi spilirit, Try copy all your dependencies to the WebContent/WEB-INF/lib instead referring in your project. The Eclipse IDE will automatically add these libs to your classpath and to your exported war. Regards Fernando Meyer http://fmeyer.org [EMAIL PROTECTED] PGP: 0xD804DDFB

Re: [rules-users] JBossRules and JAVA Servlet / JSP (part2)

2007-07-23 Thread spilirit
Hi Burr, That would be very kind from you, if you could send me the WAR, Thank you, ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] Re: BRMS Server - memory Issue while execution - Critical

2007-07-23 Thread Arjun Dhar
Michael Neale gmail.com> writes: > > > Hi Arjun - I wouldn't recommend re-using session unless there is some expensive state you wish to reuse. Pooling them will use up far more resources then freeing them. You should only pool expensive to obtain resources. Hi Michael, thanks a lot for yo

[rules-users] problems using rule flow

2007-07-23 Thread hypnosat7
When I use my rule flow with only one asserted fact it work very well, but when I assert more than one fact it goes wrong. I used the Audit View to fix the problem. My rule flow : Start -> ruleFlowGroup1 -> split -> ruleFlowGroup2

Re: [rules-users] JBossRules and JAVA Servlet / JSP (part2)

2007-07-23 Thread spilirit
Hi, please fond attached a copy of my Eclipse project, Burr; that would be very kind from you, if you could send me the WAR, Thankyou for your Help ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rule