Re: [rules-users] Drools Flow Events Not Working - FIXED

2010-09-30 Thread drooRam
just updating the subject to Fixed, so that it wud be helpful for other users to directly look for solution. -drooRam -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Events-Not-Working-tp1453738p1610992.html Sent from the Drools - User mailing li

Re: [rules-users] Drools Flow Events Not Working

2010-09-30 Thread jawa
Finally I've fixed the problem Exception in thread "main" java.lang.NoSuchMethodError: org.drools.runtime.StatefulKnowledgeSession.execute(Lorg/drools/command/Command;)Lorg/drools/runtime/ExecutionResults; It was caused because I was compiling my code against drools version 5.1.0 and was runni

Re: [rules-users] Drools Flow Events Not Working

2010-09-28 Thread jawa
hi, has anyone successfully raised even on a persisted drools flow or is it a bug? Thanks -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Events-Not-Working-tp1453738p1595165.html Sent from the Drools - User mailing list archive at Nabble.com. __

Re: [rules-users] Drools Flow Events Not Working

2010-09-24 Thread jawa
Yes I did some debugging and I read the bytes against that Process in database and it is all fine and process is stopped at the AND node and waiting for signal to come. Also I looked in drools source and found below in class org/drools/process/instance/impl/ProcessInstanceImpl.java public P

Re: [rules-users] Drools Flow Events Not Working

2010-09-24 Thread Mauricio Salatino
hmm looks weird.. can you debug and review if the process is in the NodeInstance that it's supposed to be? On Fri, Sep 24, 2010 at 12:25 PM, jawa wrote: > > Thanks mate > > It throws NullPointerException. Here is what I do. I start process and it > stops at an AND node waiting for event to comp

Re: [rules-users] Drools Flow Events Not Working

2010-09-24 Thread jawa
Thanks mate It throws NullPointerException. Here is what I do. I start process and it stops at an AND node waiting for event to complete. The process is backed up by JPA and is stored in db. Then I modify my test class and instead of creating session i load existing session. For example when i r

Re: [rules-users] Drools Flow Events Not Working

2010-09-24 Thread Mauricio Salatino
I would like to help you.. what's the outcome of the p.signalEvent("Test", vo); call? In which state is the process waiting when you do that call? copy the stacktrace that you get from the last piece of code. Greetings. On Fri, Sep 24, 2010 at 5:09 AM, jawa wrote: > > Any idea anyone please? >

Re: [rules-users] Drools Flow Events Not Working

2010-09-24 Thread jawa
Any idea anyone please? Thanks -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Events-Not-Working-tp1453738p1572504.html Sent from the Drools - User mailing list archive at Nabble.com. ___ rules-users m

Re: [rules-users] Drools Flow Events Not Working

2010-09-21 Thread jawa
Hi Kris, Thanks for your reply. A little background, I start drools flow process by creating a new session using JPA service and I've an AND node which has two incoming connections one from a RuleGroup node and another from an event node so it stops and waits until the event is signaled. Then I g

Re: [rules-users] Drools Flow Events Not Working

2010-09-20 Thread Kris Verlaenen
retrieve the session from the session? Or does it keep a reference from before? Kris - Original Message - From: "jawa" To: Sent: Friday, September 10, 2010 7:17 PM Subject: [rules-users] Drools Flow Events Not Working > > Hi, > I am using drools flow 5.1.1 with JP

Re: [rules-users] Drools Flow Events Not Working

2010-09-15 Thread jawa
Thanks for your reply. I am not using for each element. I am just using AND node with a message event and another node coming to it so process stops there and wait for the signal. Then I signal event as I mentioned in my posts above but get into problems as I've mentioned in my previous posts. Ho

Re: [rules-users] Drools Flow Events Not Working

2010-09-15 Thread Vlach Miloslav
jawa Odesláno: st 15.9.2010 11:09 Komu: rules-users@lists.jboss.org Předmět: Re: [rules-users] Drools Flow Events Not Working Any idea anyone? No one knows how to raise an event on session/flow? Thanks -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools

Re: [rules-users] Drools Flow Events Not Working

2010-09-15 Thread jawa
Any idea anyone? No one knows how to raise an event on session/flow? Thanks -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Events-Not-Working-tp1453738p1478568.html Sent from the Drools - User mailing list archive at Nabble.com.

Re: [rules-users] Drools Flow Events Not Working

2010-09-13 Thread jawa
Done some more debugging and It looks like the ProcessInstance is failing while trying to get process. Here is what I found from the drools 5.1 source code: org/drools/process/instance/impl/ProcessInstanceImpl.java public Process getProcess() { if (this.process == null) {

[rules-users] Drools Flow Events Not Working

2010-09-10 Thread jawa
Hi, I am using drools flow 5.1.1 with JPA. I want my flow to stop at a certain point so I use an AND node with one incoming RuleGroup node and one incoming Event node. so as AND guarantees that It executes after both of the nodes are completed. So my flow stops there. Then i load the session from