Hi Davide, Mauricio,
I've tried that but the result is the same.
I've also tried the latest snapshot 5.4.0-SNAPSHOT
Note that the first two 'don' calls work fine, it is the third one that
fails.
Best regards,
Michal
On Thu, Mar 1, 2012 at 12:41 AM, Davide Sottara wrote:
> Sorry, the way to de
On 1 March 2012 01:18, Davide Sottara wrote:
>
>
> @Alberto:
> the applyChangeSet method requires a ChangeSet resource. You should create
> a
> changeset xml which contains the URLresource pointing to your directory.
> This URLresource will contain the "file://..." URL and the resourcetype of
> th
I accidently denoted the wrong class with the annotator
@PlanningEntityCollectionProperty ; a class which was NOT a planning entity.
Apparently, Drools Planner does not attempt to check for such a possibility,
hence I get:
*--OUTPUT--*
Exception in thread "main" java.lang.NullPointerException
Hello drools users,
I have a modeling issue with ruleflows : I would like to know how to having
rule nodes sharing some rules.
Problem:
Lets says i have 3 rule nodes A, B and C in a ruleflow after a split node:
Node A has rules R1, R3 and R5
Node B has rules R2,R3 and R4
Node
Thanks for ur reply. I checked the lib of WAS its not having any such jar
files. However i then removed the JBoss-seam.jar from the WAS lib and only
included it in the WAR. Now, after deployment i'm getting new exceptions
like below:
The statement was aborted because it would have caused a duplica
http://www.dzone.com/links/build_a_graphical_adventure_game_in_20_minutes_us.html
Today we take you on a 20 minute adventure. Building, almost from
scratch, a complete graphical adventure game with Drools. The code will
be part of the up coming Drools 5.4 release. The game is based on Wumpus
W
@Alberto, Herman,
sorry, it seems that even the schemalocation I provided is outdated... The
xsd is actually included in the droolsjbpm-knowledge api, so it's part of
the distribution. It can also be found here
https://raw.github.com/droolsjbpm/droolsjbpm-knowledge/master/knowledge-api/src/main/re
You can get a reference to the KnowledgeHelper in the RHS of a rule simply
using the variable-like "drools". It exposes the WorkingMemory methods you
need. You can then pass it to your function:
function void x( ..., KnowledgeHelper kh ) {
...
kh.insertLogical(...)
}
rule "y"
when
then
Sorry, the way to declare traits has been changed in one of the latest
versions... the code is still very experimental and subject to changes.
I think I have updated the documentation to reflect the change, but could
you please confirm that?
Thanks
Davide
--
View this message in context:
http://d
I write a function in drool, but it always has error.
The error is :The method insertLogical(PreCondition) is undefined for the
type InsertPreCondition
Is it because insertLogical must be used in RHS?
Is there any way to use insertLogical in function or implement the function
in RHS?
code:
import
Hi Michal,
You need to change this:
declare NiceMessage
@format(trait)
end
to this:
declare trait NiceMessage
..
end
Cheers
2012/2/29 Michal Bali
> Hi all,
>
> I came across this issue when trying out 'traits' with POJOs (not declared
> types). An IllegalArgumentException is being throw
Hi all,
I came across this issue when trying out 'traits' with POJOs (not declared
types). An IllegalArgumentException is being thrown when I apply the third
'don'. Here is how to reproduce:
as the POJO I am using the Message class that comes with the project
created by the Eclipse plugin.
now the
For your issue #1, we were having the same problem. In
org.drools.xml.ExtensibleXmlParser it appears that 'isValidating' defaults
to true. This field is tied to the property 'drools.schema.validating'.
The only way we have been able to avoid this error is by setting
-Ddrools.schema.validating=fa
On 29 February 2012 15:21, kashif10 wrote:
>
> One more question, is it work with Drool 5.1 too?
>
Inline eval() works with 5.1 and later.
> I already went through Drool Documents found on the official site, but is
> there any resource to learn more about the syntax?
>
>
You can learn a lot f
Thanks a lot Laune, for the suggestion,
I was adding eval condition using "and", as I thought that I can't add eval
condition using $Dx1 inside the $DX1 matching assignment. but your
suggestion working fine, by putting eval inside the $Dx1 assignment
matching.
As far as generalize Facts bean is
here again,
I tried to change url in a directory in this way
kagent.applyChangeSet(ResourceFactory.newUrlResource("file://Z:/WSP/drools-test/src/main/java/com/sample"));
kagent.setSystemEventListener(new
PrintStreamSystemEventListener());
StatefulKnowledgeSession
Thank you Davide,
I will try soon your suggestion about point 4, yes the class is in the same
package com.sample
Best,
Alberto
--
View this message in context:
http://drools.46999.n3.nabble.com/KnowledgeAgent-Changeset-problems-tp3787165p3787251.html
Sent from the Drools: User forum mailing list
Hi Alberto
1) The XML parser is not validating, so that's not a real issue. If you
want, the actual changeset file header is:
...
2) just use a "file:" URL pointing to the directory, but the folder will
have to contain resources of the same type
3) when set to true, a new KnowledgeBase inst
http://www.jboss.org/drools :)
There you can find all the links
Best
Davide
--
View this message in context:
http://drools.46999.n3.nabble.com/new-to-drools-tp3787204p3787209.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
Hi all,
I have some problem with KnowledgeAgent, maybe you can help me. I will list
these in the following
1) during change set loading I have the following error
(null: 1, 207): schema_reference.4: Failed to read schema document
'drools-change-set-5.0.xsd', because 1) could not find the document
Could be because the seam-security.jar is in the guvnor war (under
WEB-INF/lib) but also somehow in your WAS classpath too.
Try removing it from the war.
Op 29-02-12 11:16, arup schreef:
> Hi all,
> while deploying my guvnor to WAS 6.1 in getting the following error:
>
> two packages with the sam
Hi all,
while deploying my guvnor to WAS 6.1 in getting the following error:
two packages with the same @Namespace:
http://jboss.com/products/seam/security
Can u please help me to solve this. my components.xml is as follow:
http://jboss.com/products/seam/components";
xmlns:core="ht
Hi Edson,
If I really understood, In the first case, the windows are moving in time so
all events found are activated, and are not retracted from the agenda even
after their expiration.
so that:
$a : Event1() over window:time(2s)
fires all events.
In the second case (with
Hi Edson,
If I really understood, In the first case, the windows *are moving in time*
so all events found are activated, and are not retracted from the agenda
even after their duration.
so that:
*$a : Event1() over window:time(2s)*
firs all events.
In the second case (with accumulate/collect )
Hi,
We're using Drools Guvnor 5.0.1 in a production environment, running on
Tomcat 6. We're experiencing permgen issues, particularly when doing large
imports of rules, archiving, or compilation of rules.
Following permgen exceptions, we increased the permgen to :
-XX:MaxPermSize=2048M -ms3192M
25 matches
Mail list logo