[rules-users] Re: How and when are objects released in Stateless Session

2007-11-17 Thread Arjun Dhar
> You cannot insert data over time into a stateless session, all data is > added at the same time. When the engine has finished processing it w ill > return and is finished, at this point as soon as the stateless session > is available for garbage collection the objects will be removed. There >

Re: [rules-users] Multipattern collect

2007-11-17 Thread Edson Tirelli
Geoffrey, What you want is simply to constrain the inner pattern: rule "calculateTopicConflict" when $leftTopic : Topic($id : id); $rightTopic : Topic(id > $id); $studentSet : HashSet( size > 0 ) from collect( $student : Student(

Re: [rules-users] Drools and BRMS (60,000+ rules)

2007-11-17 Thread Mark Proctor
Carlsen, Len wrote: Hello, I am wondering if anyone has any experience in managing very large rule sets and facts and could share their experiences in the design and management of this. We are embarking on a new Student Information System project here at UBC in conjunction with sever

Re: [rules-users] Using multiple RuleFlows with similar group names

2007-11-17 Thread Mark Proctor
There is a loose coupling from the ruleflow-group defined in the drl and the one in the ruleflow. So no matter how many rules you add, and how they are added, there will only be one ruleflow-group "Group A". You can deploy two ruleflows, both that use that group. The process that enters that gr

Re: [rules-users] Using param of innerclass in condition

2007-11-17 Thread Mark Proctor
if you look over the examples download many of them use static nested classes - checkout HelloWorldExample. Mark Martin Book wrote: Hello, the class ContactQueueDetail contains class ContactCallDetailId. ContactQueueDetail cqd I have asserted cqd to the WorkingMemory. It contains Conta

Re: [rules-users] Is InternalRuleBase safe to use?

2007-11-17 Thread Mark Proctor
If it safe to use in that it works now, but its an internal api so could change at any time - so we don't recommend you using it. The correct place to set the ConsequenceExceptionHandler is via the RuleBaseConfiguration, which allows you to overide it there. Mark Jared Davis wrote: Hi, re:Dr

Re: [rules-users] howto BRMS - already stuck at fact model loading

2007-11-17 Thread Mark Proctor
Darren Hartford wrote: Hey all, new to BRMS as trying to learn how this works. My usecase is to take an existing, working EJB3 application and migrate some of the complex rules over to be managed by BRMS. However, initial attempts over the course of a couple of days have yielded zero re

Re: [rules-users] drools compiler error

2007-11-17 Thread Mark Proctor
You have not set your PackageBuilderConfiguration correctly before creating your PackageBuilder. Mark prashant sharma wrote: Hi, I am using drools version 3.2 with JANINO compiler. I have an application that processes about 30k rules. Most of the time it works fine but sometime (1 in 20), I

Re: [rules-users] RE: rules-users Digest, Vol 11, Issue 27

2007-11-17 Thread Mark Proctor
Sikkandar Nawabjan wrote: Hi, What is the Role of dslr in development and deployment perspective. i don't see anything about dslr in this manual. please send some link where i can learn about this Thanks and Regs, basha A dslr is the extension name used for the file, so that IDE can know its

Re: [rules-users] using primitive datatypes?

2007-11-17 Thread Mark Proctor
Fabian Weisensee wrote: Hello everyone just one quick question: I tried to invoke a rule from inside of jBPM. This works now, but I have a major problem. The rule is quite simple and should only check if an integer from the jBPM process is greater than a limit. I insert this integer into the

Re: [rules-users] rule name specification

2007-11-17 Thread Mark Proctor
Barfield Steve wrote: Is there a specification for rule name ie length + characters it can contain. I have searched the documentation but maybe I missed it. If you put quotes, its just a string, so no limitations. __

Re: [rules-users] Remotely debugging application server code

2007-11-17 Thread Mark Proctor
Marcus Ilgner wrote: Hi list, I'm experiencing problems when remotely debugging my JBoss-Rules-using application running on an application server. The application server is JBoss 4.2.1.GA and I connect to it via Eclipse. My JBoss Rules version is 4.0.3. As soon as I start inserting facts, the ap

Re: [rules-users] How and when are objects released in Stateless Session

2007-11-17 Thread Mark Proctor
Arjun Dhar wrote: Hi, can someone please explain; if a stateless session is used over a log period of time. How are the objects (rather the shadows to them) released? You cannot insert data over time into a stateless session, all data is added at the same time. When the engine has finished

Re: [rules-users] Multipattern collect

2007-11-17 Thread Mark Proctor
Geoffrey De Smet wrote: Is a multipattern collect supported? no. I have a rule which finds all 2 topics and all the students they share if there is at least 1 such student: rule "calculateTopicConflict" when $leftTopic : Topic($id : id); $rightTopic : Topic(id > $id);

[rules-users] Multipattern collect

2007-11-17 Thread Geoffrey De Smet
Is a multipattern collect supported? I have a rule which finds all 2 topics and all the students they share if there is at least 1 such student: rule "calculateTopicConflict" when $leftTopic : Topic($id : id); $rightTopic : Topic(id > $id); $studentSet : HashSet( si