problem building DRLs using BRMS
by Blanco Emanuele
Hi there,
I've got a problem when building a large DRL (about 40KB) uploaded using the BRMS 4.0.7. If I try to make the build with Firefox, it simply hangs... if I try with IE7, I get a "JavaScript SyntaxError: out of memory". Logs on JBoss AS doesn't mention anything interesting... suggestions/tricks?
Thanks in advance.
--
Emanuele Blanco
________________________________
--
The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
15 years, 11 months
having counter in drl
by techy
Hello,
I would like to take 100 sampling facts for rule and persist it in the db
and ignore other data.
How Can I maintain the counter? as global variable? Please clarify with
sample code.
I tried following way and but it does not work as expected.
Ex:
global Integer counter;
rule "get sampling data"
when fact : Foo(some condition) && eval(counter <= 100)
then
counter++
// do some condition
end
--
View this message in context: http://www.nabble.com/having-counter-in-drl-tp20904469p20904469.html
Sent from the drools - user mailing list archive at Nabble.com.
15 years, 11 months
drools-compiler sources in GWT build for jbrms 4.0.7
by Blanco Emanuele
Hi there,
in the build.xml file downloaded from SVN for Drools JBRMS 4.0.7, the task "gwt-compile" has a classpath including the drools-compiler sources.
Is it possible to drop that reference and use the drools-compiler jar in that task?
Thank you.
--
Emanuele Blanco
________________________________
--
The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
15 years, 11 months
function problem
by Charlie Holland
I'm fairly new to Drools so there may be an easier way to do this. I need to
check to see if any one of a list of tags on an object are in another list
of tags and am trying to do that with a function. the compiler tells me it
can't compile my eval function:
#list any import classes here.
**
*import* com.cp.services.rules.sources.Person;
**
*import* com.cp.services.rules.actions.PersonActions;
**
*import* com.cp.rules.TagCodes;
**
*import* java.util.List;
#declare any global variables here
**
*global* com.cp.services.rules.actions.PersonActions personActions;
**
*function* *boolean* hasOneOf(List list1, String[] list2){
*for* (Object obj : list1) {
String string = (String)obj;
*for* (*int* j = 0; j < list2.length; j++) {
*if* (string != *null* && string.equals(list2[j])) {
*return* *true*;
}
}
}
*return* *false*;
}
**
*rule* "Engineering"
*dialect* "mvel"
*when*
**
#conditions
Person( ageInYears >= 18 ) *and*
*eval* ( hasOneOf(Person(tagList), TagCodes(engrTags)) )
*then*
#actions
personActions.addAction("EngineeringGroup");
*
end
*
15 years, 11 months
use multiple drl files with one dsl
by Thierry B
Hello,
Do you have an example of Java class which uses several DRL files which
used the same DSL file?
Because when I try, I've errors.
Thanks :-)
15 years, 11 months
Guvnor and old BRMS clash?? (newbie)
by J Michael Dean
Do Guvnor and 4.07 BRMS store their data in the same location in
JBoss? I naively placed both war files into JBoss, thinking I could
experiment with Guvnor while using BRMS, and it appears that Guvnor
reads and writes to the same repository. Do I need to keep these apps
in separate JBoss instances?
- Mike
15 years, 11 months
ABIS 2009 extension of submission date
by paschke@mi.fu-berlin.de
Dear Colleagues
Please be informed that, in response to numerous requests for extension of
the submission deadline, along with consideration of the approaching
holiday period, the SIWN Steering Committee has decided on an extended
date for full paper submissions.
For better consistency and improved synchronization among all SIWN 2009
conferences, including the 3rd International Conference on Adaptive
Business Information Systems (ABIS 2009)
(http://siwn.org.uk/2009leipzig/CfP_ABIS09.pdf), the new deadline is 5th
January 2009.
PUBLICATION
The ABIS'09 papers will be published in the International Journal
Communications of SIWN (CoSIWN) (ISSN 1757-4439).
KEYNOTE
By James Taylor (http://aboutjt.com/wp/) - Enterprise Decision Management
We would appreciate it if you could help distribute the updated CfP
(http://siwn.org.uk/2009leipzig/CfP_ABIS09.pdf) widely to your groups and
professional contacts.
Kind regards
Adrian Paschke
(On behalf of the Chairs - ABIS09)
__________________________________
Prof. Dr. Adrian Paschke
www.corporate-semantic-web.de
**********************************
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
15 years, 11 months
Java 5 with Drools 4.0.7
by Xiandong Su
Does anyone know whether Drools 4.0.7 support JDK 1.5 (java 5)? My client is using this version of VM and I need to get the latest Drools that supports it.
Thanks
Xiandong
15 years, 11 months
Some questions
by Ravi Krishnamurthy
Hello:
Could some one give some input for the following questions
1) Can drools read the datas for facts from Excel
2) is Nested rules is supported in Drools
3) can rules communicate across .drl files
4) is there support for looping and collection
Thanks in advance,
Ravi
15 years, 11 months