Re: [rules-users] Groovy classes as fact classes in drool

2012-01-19 Thread Swindells, Thomas
It can't find the class groovy.lang.GroovyObject, looks like you need to deploy the groovy jars into guvnor/tomcat so that they are available. Thomas -Original Message- From: rules-users-boun...@lists.jboss.org [mailto:rules-users- boun...@lists.jboss.org] On Behalf Of kavita Sent:

[rules-users] Guvnor deployment problem on websphere 6.1

2012-01-19 Thread arup
I have modified the pom.xml as mentioned in https://community.jboss.org/wiki/DeployingGuvnor5OnWebSphere; . also created the custom propertied in WAS. but after installing the guvnor 5.1 war when i'm trying to get the login page hitting the url i'm just getting a blank page. I'm new to drools and

Re: [rules-users] java.lang.ArrayIndexOutOfBoundsException at Frame

2012-01-19 Thread mujoko mujoko
Hi Here is my CDR class package com.rbtsb.tm.meter.model; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import javax.persistence.Transient; import lombok.Data; import lombok.EqualsAndHashCode; import

[rules-users] Upgrade Drools from 5.1 to 5.3

2012-01-19 Thread womuji
Hi, We have a legacy Drools application using 5.1 and we are planning to upgrade to 5.3. I have several questions: 1. Are org.drools.StatelessSession and RuleBase deprecated? and instead we should use KnowledgeBase and StatelessKnowledgeSession? 2. In 5.1.1, we extend WorkingMemoryLogger(final

Re: [rules-users] proxy config for change-set schema fetch?

2012-01-19 Thread Hrumph
Hi - I am having this same problem - did you ever find a solution? thanks -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-proxy-config-for-change-set-schema-fetch-tp2952812p3672962.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] ClassCastException when KnowledgeAgent loads declared type

2012-01-19 Thread lhorton
I tried this with 5.4 beta1 and I think the problem is still there. The error I see when re-loading a drl that contains a declared type is: DEBUG 2012-01-19 09:37:37,358 [com.abclegal.rules.server.RulesServiceImpl] - BinaryResourceDiffProducerImpl: Couldn't handle

[rules-users] Fusion historical data analysis

2012-01-19 Thread MartinSimo
Dear drools Users I'd like to evaluate drools for our next project, thus a newbie. Trying to write a rule, which hits, if a threshold is reached 3 times in 100 seconds. having: kpi1 -- representing the timestamp of the event (as data are read from DB) and kpi2 where the actual value is. having

Re: [rules-users] Fusion historical data analysis

2012-01-19 Thread Wolfgang Laun
What kind of session clock are you using, and it it in sync with the timestamps? -W On 19 January 2012 21:17, MartinSimo simo.f...@gmail.com wrote: Dear drools Users I'd like to evaluate drools for our next project, thus a newbie. Trying to write a rule, which hits, if a threshold is

Re: [rules-users] Fusion historical data analysis

2012-01-19 Thread MartinSimo
Hi laune Thanks for the quick answer. I am using pseudo, but I do not understand what You mean with in sync with the timestamps. The kpi1, used as timestamp, is the timestemp of the event and with kpi2 stored in DB. How can I synchronize them? for reference the rest of the configuration:

[rules-users] Global variable error message

2012-01-19 Thread domingo
Hi, Thanks for your attention, I am using global in my rule file(drl), I did some experiment with globals my finding as follows... 1. declare both rules engine and drl file == all fine working properly. 2. I intentionaly commented out the global declaration in drl file and set the global in the

[rules-users] FireAllRules for all agenda

2012-01-19 Thread Vis
Hi, We are having huge set of rules categoried into different agends, based on different functional behavior. And session.fireAllRule works fine with respect to an agend. But there is one more scenario where we need to fire all the rules irrespective of any agenda group, even main agend also.

Re: [rules-users] Fusion historical data analysis

2012-01-19 Thread Wolfgang Laun
With a sequence of events with fixed timestamps you'll have to use a pseudo-clock for things like sliding window to work. To run, you repeat the steps for all events e set pseudo-clock according to e.timestamp session.insert( e ) session.fireAllRules() This is what I meant

Re: [rules-users] FireAllRules for all agenda

2012-01-19 Thread Wolfgang Laun
Hopefully there's no dependency on the order of agenda groups. You can write relatively simple code to retrieve all rules from all knowledge packages; from the rules you can determine the SetString of agenda group names. To run, you give focus to all Set elements and then call fireAllRules. The

Re: [rules-users] Global variable error message

2012-01-19 Thread Wolfgang Laun
Trying to set an undeclared global is done via an API call; basically there's just one thing that can go wrong. Using a global that has not been initialized at all, or incorrectly initialized might cause a NullPointerException or several other unpleasant errors. Moreover, it may happen anywhere