Guided Editor in BRMS / Guvnor Version 5 (Snapshot of 26 June)
by Paul Browne
Folks,
For various reasons I'm trying out the Guided Editor for Business Rules in
the Guvnor Version 5 (Snapshot of 26 June from Hudson, deployed on JBoss App
Server 4.2.2GA).
I've created the Package / Category and uploaded a simple fact model (as
works in BRMS version 4). I create a new business rule using the guided
editor and the screen shows successfully with both 'When' and 'Then'
parts.Assume the next question is due to me missing something, but wanted to
double check:
When I press the green '+' to the right of the screen I am shown the message
/ dialog layer saying '
*Add a condition to the rule... *or* Add an action to the rule.
*Problem is that there doesn't appear to be a way of adding a condition or
action. The only thing I'm seeing in the logs is
* (Contexts.java:flushAndDestroyContexts:335) could not discover
transaction status
*Am I missing something or should I come back to Guvnor later in the
development Cycle?
Thanks
Paul
12 years, 9 months
Drools + Spring
by Abu Rasheed
Are there any plans to have Spring support in drools-api? The last mail that
I saw in searching the topic is dated last year, and there are no new
postings related to this.
Does anyone have any success in injecting KnowledgeBase into their apps
using Spring? Is there any examples out there that I can refer to?
Thanks
14 years, 8 months
drools compiler issue
by Abu Rasheed
I'm using the Drools 5.0.0 M5, with Guvnor, when I tried to save and
validate my configuration, I got this error:
[ERR 102] Line 5:63 mismatched input '-'
It's pointing to this line:
import <my pachage path>.package-info
Does drools support package with "-" characters? The package is part of
jaxws generated artifacts.
Thanks
14 years, 11 months
Can drools continue testing even if one of the conditions fail ?
by DroolUser
Hi,
I'm using drools for testing if the few attributes of my MO are not null.
I construct the rule in the .drl file in following way :
rule "name"
when
condition1
condition2
condition3
condition4
then
consequence
end
I have observed that the drool engine verifies the conditions line by line
(in the sequence they have written). The moment condition fails, control
comes back to the calling method.
I don't want this. I want the control to execute each and every condition
whether true or false and maintain a record of passed/failed conditions.
Something like this :
rule "name"
when
condition1
log the test result --- This statement should get executed
even if condition 1 fails and control should go to condition 2
condition2
log the test result
condition3
log the test result
condition4
log the test result
then
consequence
end
Is this possible in Drools ?
--
View this message in context: http://www.nabble.com/Can-drools-continue-testing-even-if-one-of-the-cond...
Sent from the drools - dev mailing list archive at Nabble.com.
15 years, 7 months
To use or not to use SwingWorker (= Java 6)
by Geoffrey De Smet
Hi,
I 'd like to use Java6's SwingWorker in the drools-solver-examples.
The language level of drools, drools-solver and drools-solver-examples
stays on 1.5.
This would mean:
Under JDK 5:
- You can NOT compile the drools multiproject
=> because the module drools-solver-examples would not compile
- You can run drools based projects
- You can run drools-solver based projects
- You can NOT run drools-solver-examples
=> because you 'll get a ClassNotFoundException at runtime
Under JDK6:
- You can compile the drools multiproject
- You can run drools based projects
- You can run drools-solver based projects
- You can run drools-solver-examples
Would these limitations be acceptable for the rest of the team?
--
With kind regards,
Geoffrey De Smet
15 years, 7 months
Re: [rules-users] drools 5.0 quotes
by Mark Proctor
Ingomar Otter wrote:
> Being not a native speaker, does
> >particularly around Drools Flow or Fusion
> mean Flow and Fusion only?
Flow and Fusion are new, where as Expert is well established with a
great reputation. For this reason promoting flow and fusion is a more of
a priority, but we definitely still want to promote expert too - so
quotes on any of them are welcome.
Mark
>
> Probabaly not. I will stroll off and knock at a few doors tomorrow.
> What's your deadline?
>
> --I
>
> Am 22.04.2009 um 23:36 schrieb Mark Proctor:
>
>> We are just updating the website for the 5.0 launch. I'm looking for
>> anyone that works for a well known firm who would be willing to give
>> us a quote (just one or two lines), particularly around Drools Flow
>> or Fusion. This is not a testimoney or a reference. It's just a quote
>> on what you think, the promise of the technology, or how you hope
>> it'll help your business - something along those lines. If you can
>> help, please contact me directly. Ideally we'd like two or three
>> quotes to go out with the release announcement.
>>
>> Thanks
>>
>> Mark
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users(a)lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
15 years, 7 months
drools 5.0 quotes
by Mark Proctor
We are just updating the website for the 5.0 launch. I'm looking for
anyone that works for a well known firm who would be willing to give us
a quote (just one or two lines), particularly around Drools Flow or
Fusion. This is not a testimoney or a reference. It's just a quote on
what you think, the promise of the technology, or how you hope it'll
help your business - something along those lines. If you can help,
please contact me directly. Ideally we'd like two or three quotes to go
out with the release announcement.
Thanks
Mark
15 years, 7 months
ClassCastException: org.drools.reteoo.AlphaNode$AlphaMemory cannot be cast to org.drools.reteoo.BetaMemory
by Andreas Kohn
Hi,
I'm currently integrating drools (via the .spi.* classes, not via .drl
files etc) into our product, and found a very odd class cast exception
when producing different rules.
java.lang.ClassCastException: org.drools.reteoo.AlphaNode$AlphaMemory cannot be cast to org.drools.reteoo.BetaMemory
at org.drools.reteoo.NotNode.assertLeftTuple(NotNode.java:96)
at org.drools.reteoo.CompositeLeftTupleSinkAdapter.doPropagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:145)
at org.drools.reteoo.CompositeLeftTupleSinkAdapter.createAndPropagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:57)
at org.drools.reteoo.LeftInputAdapterNode.assertObject(LeftInputAdapterNode.java:142)
at org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleObjectSinkAdapter.java:42)
at org.drools.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:184)
at org.drools.reteoo.EntryPointNode.assertObject(EntryPointNode.java:146)
at org.drools.reteoo.Rete.assertObject(Rete.java:113)
at org.drools.reteoo.ReteooRuleBase.assertObject(ReteooRuleBase.java:218)
at org.drools.reteoo.ReteooWorkingMemory$WorkingMemoryReteAssertAction.execute(ReteooWorkingMemory.java:291)
at org.drools.common.AbstractWorkingMemory.executeQueuedActions(AbstractWorkingMemory.java:1475)
at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:676)
at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:649)
at drools.scratch.RecyclingTest.assertSession(RecyclingTest.java:88)
Attached you'll find a maven project exhibiting the error, and from
stepping through the code pieces it looks like two nodes in the network
have the same id. The id was marked as released in the removeRule()
process.
This is against the 5.0.0.SNAPSHOT.
Am I doing something wrong? Missing anything? Or is this a real
"blocker" bug? Should I open a JIRA issue for that?
Regards,
--
Andreas
--
Never attribute to malice that which can be adequately explained by
stupidity. -- Hanlon's Razor
15 years, 7 months
Drools 5.0 imminent release
by Mark Proctor
We are going to try and do 5.0 tomorrow. We are now just cleaning up the
manual and any bugs we can find. If there is anything urgent with
regards to a serious bug please let us know immediately. Likewise if
anyone would care to proof read the docs and contribute some more, I've
just revamped drools-expert and javadocs probably could do with more
feedback. So this is your last opportunity to help make drools 5.0 great.
Mark
15 years, 8 months
Drools-solver released zip broken
by Geoffrey De Smet
Hi guys,
The drools-solver release zip, which was released with the rest 3 days
ago, is broken. It's probably because the wrong maven version was used.
When you make a release, could you try unzipping the zip and run
runExamples.sh or runExamples.bat before you upload the zip to the
download area?
That would save me a lot of embarrassment when I tell people to download
something that doesn't work.
--
With kind regards,
Geoffrey De Smet
15 years, 8 months