Re: [rules-users] BRMS locks jackrabbit

2008-01-23 Thread safi
Yes, you are right. RPC is one possible solution, but we haven't worked with seam rpc api yet so if somebode has a hit it would be great help. Another solution would be to POST parameters into appropriate servlet but as long as there is a GWT it is very hard to find out what parameters are passed

Re: [rules-users] OutOfMemory with BRMS 4.0.3

2008-01-23 Thread Michael Neale
Ok so yes the error is on the brms web app. The agent will poll the brms , so that may be causing it. So, could you try to run the brms without the agent hitting it and see if it happens ( will narrow it down massively)? Also, what tomcat, jdk and I Os version? Sent from my iPhone On 23/

Re: [rules-users] OutOfMemory with BRMS 4.0.3

2008-01-23 Thread sophie . ramel
Well, I'm pretty sure no agent hit the brms on my server last week, it's a development server and I'm currently the only one using it, so the agent wasn't instantiated (or perhaps I tried it once or twice at the beginning of the week, to check that it worked, but that's all). The tomcat versio

[rules-users] How can I write a rule that will only fire once for every object in the working memory

2008-01-23 Thread Waruzjan Shahbazian
Hallo, I was wondering if it's possible to create a rule that can only be activated once. So if at a certain point the LHS is matching, it will be fired and deactivated immediately, so the rule never ever gets fired for the object it has updated, no matter if the LHS will matches after a few

Re: [rules-users] How can I write a rule that will only fire once for every object in the working memory

2008-01-23 Thread Mark Proctor
You can write your own agenda-filter to keep track of which objects have fired for which rules and cancel the activation if it's fired before. You may also have some luck with lock-on-active. Mark Waruzjan Shahbazian wrote: Hallo, I was wondering if it's possible to create a rule that can onl

[rules-users] WorkingMemory and JUnit

2008-01-23 Thread John.Dubchak
Hi, We are using Drools 3.0.6 using a test-driven approach. This works really well in allowing us to get good test coverage around our rules and to create those rules rather easily. However, as the number of tests grows, the execution speed of the test suite in our Continous Integration envir

Re: [rules-users] Drools and event based decisions, i.e. streaming market quotes

2008-01-23 Thread Mark Proctor
Henry Canterburry wrote: Mark, Thanks for the reply. My timeframe matches the one you mentioned although I would naturally be looking for working and production ready functionality. In the meantime, did any of the approaches I mentioned make any sense or would you say that drools is not the r

Re: [rules-users] Drools and event based decisions, i.e. streaming market quotes

2008-01-23 Thread Mark Proctor
Henry Canterburry wrote: Mark, at this point I have a semi-working drools integration utilizing the stateful session. With each event coming in, I insert the event into the session and call fireAllRules. I have also added memory managment rules to retract events past a certain time threshold or

Re: [rules-users] Drools and event based decisions, i.e. streaming market quotes

2008-01-23 Thread Henry Canterburry
Mark, at this point I have a semi-working drools integration utilizing the stateful session. With each event coming in, I insert the event into the session and call fireAllRules. I have also added memory managment rules to retract events past a certain time threshold or number of instances in m

[rules-users] Date problem

2008-01-23 Thread jack wu
if i have several levels of java beans, the Date is not working. example: m:Message( first.second.date > "01-jan-2007" ) receive exceptions such as: Caused by: java.lang.ClassCastException: java.lang.String at java.util.Date.compareTo(Date.java:112) at org.mvel.math.IEEEFloatingP

Re: [rules-users] Date problem

2008-01-23 Thread Xiandong Su
Were you compairing Date agaist string here, as your double quotes indicate? Xiandong Sent from my iPhone On Jan 23, 2008, at 17:33, jack wu <[EMAIL PROTECTED]> wrote: if i have several levels of java beans, the Date is not working. example: m:Message( first.second.date > "01-jan-2007"

[rules-users] Re: Date problem

2008-01-23 Thread jack wu
i copy the following from the Documentation. i thought it means that drools is going to auto convert the string "27-Oct-2007" into a java Date object. + DateThe date format "dd-mmm-" is supported by default. You can customize this by providing an alternative date format

[rules-users] Is globals to retrive facts after rules?

2008-01-23 Thread Barath
Hi, I used a list as global to retrieve all possible facts when applying the rules. Is this a good practice ? If not how to get a bunch of facts that is true for my rules? barath. -- View this message in context: http://www.nabble.com/Is-globals-to-retrive-facts-after-rules--tp15058438p150584