[rules-users] Problem with CEP/Fusion rules in Guvnor and RuleAgent: unable to determine operator for symbol [after]

2010-07-15 Thread Michael Legart
Hello Drools users Given the following simple test rule: rule test rule 1 when $e : Event(); not( Event(id == $e.id this after[0s,10s] $e ) ) then System.out.println(Hello); end placed in Guvnor and the following simple test project: ruleagent.properties:

Re: [rules-users] Implementing Timers With Drools Persistence Enabled

2010-07-15 Thread Tan Hui Onn
I just found out that this is a (fixed) known issue: https://jira.jboss.org/browse/JBRULES-2552 Deadlock when using fireUntilHalt on SingleSessionCommandService On Tue, Jul 13, 2010 at 7:49 PM, Tan Hui Onn hui...@gmail.com wrote: Hi Nick, You are absolutely right that the timer is not

Re: [rules-users] Debug as within Eclipse

2010-07-15 Thread Evert Penninckx
chris richmond-2 wrote: I used the upate site to update my Eclipse Galileo IDE with the drools tools, created a new drools project, had it add the hello/goodbye test class and pointed my workspace to the 5.1M binaries. If you use the update site, I'd say your eclipse plugin is at

Re: [rules-users] Help Needed in Drools Flow

2010-07-15 Thread santosh mukherjee
Hi, I have inserted some objects into the process session through ksession.insert(Object arg0) method call in the class file that starts the process.Now I want to access those objects in my workItem on entry action code. Can I do it? If yes please let me know how?? Thanks Santosh Mukherjee. On

Re: [rules-users] Help Needed in Drools Flow

2010-07-15 Thread santosh mukherjee
This is the code that I am using in the OnEntryActions part of my workItem. System.out.println(context.getProcessInstance().getWorkingMemory()); FactHandle fac=context.getProcessInstance().getWorkingMemory().insert(new Name(santosh)); System.out.println(fac); org.drools.runtime.rule.WorkingMemory

Re: [rules-users] Avoiding loops

2010-07-15 Thread Leonardo Gomes
Thanks for the feedback, guys. Leonardo. On Wed, Jul 14, 2010 at 8:41 AM, Wolfgang Laun wolfgang.l...@gmail.comwrote: Another option would be the addition of a single Trigger fact, inserted along with your regular facts, added as an additional pattern to all rules, and retracted in each

[rules-users] Retrieve rule names fired from StatefulknowledgeSession

2010-07-15 Thread G3
Hi I have retrieved the package from guvnor url and fired the rules using statefulsession.fireallrules() I can get the number of rules fired, all the rule names from the guvnor for the model but how can I get the names of the rules that is fired.Is there any way to get it from the session? As

Re: [rules-users] Retrieve rule names fired from StatefulknowledgeSession

2010-07-15 Thread Swindells, Thomas
You probably want to read up on agenda listeners - this will let you get the information you want. Thomas -Original Message- From: rules-users-boun...@lists.jboss.org [mailto:rules-users- boun...@lists.jboss.org] On Behalf Of G3 Sent: 15 July 2010 14:16 To:

[rules-users] Error while executing business Rule

2010-07-15 Thread Puneet duggal
Hi friends, Some times i gets the error while executing rules so after that Rules accross entire screen stops working .. So can anyone tell me what can be the cause why it becomes unstable after that. Thanks Puneet ___ rules-users mailing list

Re: [rules-users] Error while executing business Rule

2010-07-15 Thread Swindells, Thomas
Your rules are probably written wrong, or your application, or you have a dodgy computer, or you have a race condition, or it is doing exactly what it should be doing and your expectations are wrong. There's also possibly a small chance that there is a bug in drools but with absolutely no

Re: [rules-users] Error while executing business Rule

2010-07-15 Thread Puneet duggal
but after that error my rules on none of the screens work why so On 7/15/10, Swindells, Thomas tswinde...@nds.com wrote: Your rules are probably written wrong, or your application, or you have a dodgy computer, or you have a race condition, or it is doing exactly what it should be doing and

[rules-users] persistence.xml for 5.1.0.M2?

2010-07-15 Thread retoy
Can anyone give me a hint where I can find the persistence.xml that works with version 5.1.0.M2? Thanks! -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/persistence-xml-for-5-1-0-M2-tp969868p969868.html Sent from the Drools - User mailing list archive at

Re: [rules-users] Error while executing business Rule

2010-07-15 Thread Greg Barton
Yoda? You is that? GreG On Jul 15, 2010, at 9:53, Puneet duggal duggalpu...@gmail.com wrote: but after that error my rules on none of the screens work why so On 7/15/10, Swindells, Thomas tswinde...@nds.com wrote: Your rules are probably written wrong, or your application, or you have a

[rules-users] orm.xml for 5.1.0.M2?

2010-07-15 Thread retoy
Is the orm.xml in drools-persistence-jpa-5.1.0.M2.jar still correct? I'm getting the exception: Error in named query: ProcessInstancesWaitingForEvent org.hibernate.QueryException: cannot dereference scalar collection element: name [select processInstanceInfo.processInstanceId from

Re: [rules-users] Error while executing business Rule

2010-07-15 Thread PAYET, Manuel
You probably should post an examples describing your problem. I think that the drools community don't have any clairvoyant powers :p De : rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] De la part de Greg Barton Envoyé : jeudi 15

[rules-users] FW: Drools 5.1.0.M2 - WorkItemNodeInstance --Listeners can't get hold of WorkItem object

2010-07-15 Thread Vijay K Pandey
Hi @Salaboy, I am not sure if you received the email below. Thanks for looking into this. Vijay From: Vijay K Pandey Sent: Tuesday, July 13, 2010 8:53 AM To: 'Mauricio Salatino' Subject: RE: [rules-users] Drools 5.1.0.M2 - WorkItemNodeInstance --Listeners can't get hold of WorkItem object

[rules-users] Gunvor Rule Editor problem?

2010-07-15 Thread Han Ming Low
I have downloaded Guvnor build 4122 from http://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/ I'm using this version because of the BPMN editor provided. However, the Guvnor Rule Editor is not behaving the same. In the When condition, the action is greyed out and I

Re: [rules-users] Improving Drools Memory Performance

2010-07-15 Thread Jevon Wright
Hi again, By removing all of the simple eval()s from my rules, I have cut heap usage by at least an order of magnitude. However this still isn't enough. Since I am trying to reduce the cross-product size (as in SQL), I recall that most SQL implementations have a DESCRIBE SELECT query which

Re: [rules-users] Improving Drools Memory Performance

2010-07-15 Thread Mark Proctor
On 16/07/2010 04:16, Jevon Wright wrote: Hi again, By removing all of the simple eval()s from my rules, I have cut heap usage by at least an order of magnitude. However this still isn't enough. Since I am trying to reduce the cross-product size (as in SQL), I recall that most SQL

[rules-users] JMS Fusion entry point

2010-07-15 Thread Maurizio Dosso
Hi, we'd like to use Drools Fusion for processing RFID messages coming from vehicles to be remotely monitored. I'm quite new to Drools and I'm looking for an example/sample code showing how to define and use a JMS topic as an event entry point for Drools Fusion rules. Can anybody point me to