hi,
Im working on a sample test project.
In that im dynamically creating a class ( fact) and compiling it.
here is my test project
--
mainJavaclass
public void runRule()
{
I figured it out, this was a class loader issue. I wrote up a blog
post on the issue...
http://www.ilyasterin.com/blog/2009/10/java-multiple-class-loaders-issue.html
On Sun, Oct 25, 2009 at 4:06 PM, Ilya Sterin wrote:
> I have an application that dynamically compiles a groovy object with
> prop
All,
Are DSL and DSLR files supported by the KnowledgeAgent / Changeset code.
Here's the details of my test case:
I have a Changeset file I'm trying to load which looks like the
following:
There's a single DSL and a single DSLR file in this folder.
Another question about Process Instances:
Is there a way to inject variables into a running process instance? I
know when I start the process I can pass a Map of variables, but is
there a way to continue injecting variables -- like
processInstance.setVariable("myVariable",myValuedObject); ?
Hi ,
We have been using drools 4.0 in our application. All the rules are loaded
using RuleBase and PackageBuilder.
The application is pretty old, and has got lot of work into it.
Now we want to use Drools 5.0 CEP (Fusion) along with the old rules (based
on drools 4.0).
But the problem , is, how
Hi Kris,
OK, I see new the signature in the ProcessRuntime interface:
signalEvent(String type, Object event, long processInstanceId);
I'll try and test that out today.
Thanks for taking the time to fix up the code!
Bill
- Original Message
From: Kris Verlaenen
To: Rules Users List
Thanks Kris,
That seems like the solution I was looking for...
I'll try persisting my session ID in my Claims domain object, and walking the
node instances first.
If that doesn't work, I'll try create a custom log object to track processes.
Either way, this thread has been a huge help.
Bill
I am new to this list, so I apologize if this question has been asked before.
It appears that drools-flow requires JTA in order to use JPA. Is anybody using
drools-flow running on WebSphere, because WebSphere uses its' own transaction
manager (and the two don't seem compatible). Has anybody lo
Alright, I feel dumb posting this question, but I can't seem to find
an answer anywhere.
When I use signalEvent, I know I'm passing it the event I want to
fire, but then there is the "Object event" parameter. What exactly
happens if I fill this parameter? What I'd like to do is the followi
I have a bit more info now, as I tested various scenarios. Inferring
groovy based facts work fine when the class is present in the
classpath (statically), not when the class is dynamically compiled. I
know for a fact that compilation works fine and that the classloader
makes that class available
Kris,
After posting my last question, I quickly came to the same conclusion as
you, so I'm now using a rule-based constraint in my EventWait node.
This however has presented a different problem. If I create my session
from JPAKnowledgeService, then when I try to insert my fact into the
session
Hey Wolfgang,
Timely mention! :) I was talking to Jason Morris here at ORF last
saturday and he pointed me to your paper. I read it and it is very good
indeed. :)
Now, I have a question for you. Without trying this in any engine
(neither Drools, not Jess, nor Clips), tell me what do you
Assuming a proper classpath, the attached jar file runs from the
commandline.
java -cp test-case.jar TestDrive
I suspect your issue may stem from the setup code calling your rule
instead of the rules themselves. I've included source code in the jar
file, but I'll include it inline in this
Yes, that's what Drools and other forward chaining inference engines do.
People have found http://www.jessrules.com/jess/docs/PropPred.pdf helpful.
Even though the syntax isn't Drools, you shouldn't have any problems
following this monograph.
-W
On Mon, Oct 26, 2009 at 1:01 PM, dbrownell83 wrot
hi thnx for reply,
I tried the drl file but no luck.here is my Audit log file
http://www.nabble.com/file/p26058723/event-log.log event-log.log
suggest me any ideas
satyasri
--
View this message in context:
http://www.nabble.com/Rule-is-not-firing-tp26056180p26058723.html
Sent from the drool
try simply:
rule "Your First Rule"
dialect "mvel"
when
Message(message == "Hello" )
then
System.out.println("First Rule fired");
end
On Mon, Oct 26, 2009 at 6:34 AM, satyasri.ch wrote:
>
> Hi ,
>
> I am doing the sample drools project.
>
> Below are the s
Hi,
I am new to Drools, so this might be an obvious 'yes' answer...
I see that DRL uses "first order predicate logic" for its syntax.
That is, it models things like "For all X, such that Y, do Z"
Am I correct that as long as some data in the knowledge session matches the
'when' conditions, it w
Hi ,
I am doing the sample drools project.
Below are the sample rule and Fact class.
when Running from eclipse ide both rules are working fine.
Where as running the rule outside eclipse ide only second rule fired .
Suggest me any ideas
---
Hi All,
Soon I will install my drools based project in stable production enviroment.
I'm using guvnor as BRMS.
Actually I posted 2 issues at the JBoss Drools JIRA, both are essential
requirements for stable production enviroments:
https://jira.jboss.org/jira/browse/JBRULES-1946
https://jira.jbos
hi
satyasri.ch wrote:
>
> Hi ,
>
> I am doing the sample drools project.
>
> Below are the sample rule and Fact class.
>
> when Running from eclipse ide both rules are working fine.
> Where as running the rule outside ide only second rule fired it is not
> showing any errors.
>
> Suggest me
20 matches
Mail list logo