[rules-users] Drools and Production Enviroment

2009-10-26 Thread nestabur
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

Re: [rules-users] Error accumulate function

2009-09-28 Thread nestabur
Solved! I changed the accumulate function call for this one: Number(intValue >= 1) from accumulate( fact() over window:time(1d) from entry-point "MyEntryPoint", init( mytotal = 0; ),action( mytotal++; ),reverse( mytotal--; ),result( mytotal; )) nestabur wrote: > > Hi Al

[rules-users] Error accumulate function

2009-09-25 Thread nestabur
Hi All, I'm getting an error when firing the rule using the accumulate function: Number(intValue >= 1) from accumulate( fact() over window:time(1d) from entry-point "MyEntryPoint", init( int mytotal = 0; ),action( mytotal++; ),reverse( mytotal--; ),result( new Integer(mytotal) )) The error is:

Re: [rules-users] Using KnowledgeAgent with Stateful session

2009-08-27 Thread nestabur
little further it is by standing on the shoulders of > giants." > Sir Isaac Newton in a letter to Robert Hooke, 5 Feb 1676 > > Come to October Rules Fest and stand on the shoulders of the Giants of > the industry; if only for a week. > > > > On Aug 26, 20

[rules-users] Using KnowledgeAgent with Stateful session

2009-08-26 Thread nestabur
Does anyone tried to use the knowledgeAgent with statefulSessions? I've tried to configure my rule engine obtaining unexpected behaviour. I configure my statefulSession as follows: wm = (ReteooStatefulSession) ((KnowledgeBaseImpl) kagent .getKnowledgeBase()).ru

[rules-users] Error unmarshalling KnowledgeBase

2009-08-03 Thread nestabur
Hi all, I'm getting 2 different errors trying to unmarshalling 2 different KBases: 1: org.drools.RuntimeDroolsException: unable to determine operator for symbol [after] 2: java.io.StreamCorruptedException: invalid stream header: 776CACED The 1st one seems to be caused when using the operator af

[rules-users] CEP Rule Help Needed

2009-07-21 Thread nestabur
dred of facts via JMS that may match with the rule condition, the rule never throws! is the rule correct? could the problem be at the rule engine implementation? Could anyone hel me please? Thanks in advance, nestabur -- View this message in context: http://www.nabble.com/CEP

Re: [rules-users] Propagate JCR Transaction in Guvnor

2009-06-15 Thread nestabur
Any suggestions? nestabur wrote: > > Hi all, > > I'm trying to propagate the transaction in guvnor over my own DAOs and the > JackRabbit Repository. Is it possible using seam? I've seen some > approaches with the spring framework, would be better if I delegate

[rules-users] Propagate JCR Transaction in Guvnor

2009-06-09 Thread nestabur
Hi all, I'm trying to propagate the transaction in guvnor over my own DAOs and the JackRabbit Repository. Is it possible using seam? I've seen some approaches with the spring framework, would be better if I delegate the transaction control to spring instead of seam? Thanks, NEStor -- View this

[rules-users] How to get the FactId in rule design

2009-04-14 Thread nestabur
Hi all, I'm trying to design a rule that checks if the inserted fact is a new one using the command "exists". Using the WorkingMemoryFileLogger I saw that each fact has his own Id so... how can I get this Id from the rule (drl, dsl)? Thanks, NEStor PD: I'm using drools 5 CR1 and guvnor for cr

Re: [rules-users] Trying to get Sliding Windows to work

2009-04-02 Thread nestabur
Hi All, I'm trying to use sliding windows with guvnor, I deploy the package in my rule engine as: Properties props = new Properties(); props.put("url", rulePackagePath); props.put("eventProcessingMode", "stream");

[rules-users] How to set Global Config in Guvnor

2009-03-24 Thread nestabur
Hi all, Weŕe trying to create a Global configuration for all the packages, right now what we have to do is upload the .jar file to each new package, is there a possibility of uploading only once the jar file and import it from all the packages? Thanks, NEStor -- View this message in context:

[rules-users] How to compile the guvnor source

2009-03-20 Thread nestabur
Hi All, I'm trying to tune up the guvnor project modifying some components for our enterprise and when I compile the source the changes in gwt infrastructure doesn't take any effect... so ¿how can I compile correctly the project? ?¿via maven? ¿ant task? Cheers, NEStor -- View this message in c

Re: [rules-users] Creating fact instance programatically

2009-03-11 Thread nestabur
help, NEStor Edson Tirelli-3 wrote: > >Not sure what the problem is, in this case. Can you create a JIRA and > attach a test case, plz? > > 2009/3/10 nestabur > >> >> Thanks for the quick reply ;) >> >> I saw that sample before, but I'm ge

Re: [rules-users] Creating fact instance programatically

2009-03-10 Thread nestabur
irelli-3 wrote: > >Nestor > >Look at this integration test, method testGeneratedBeans1(): > > http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/MiscTest.java > >Hopefully it will be clear. > >

Re: [rules-users] Creating fact instance programatically

2009-03-10 Thread nestabur
fix the bug. If you can open a JIRA, even better to > keep track of progress. > > []s > Edson > > 2009/3/10 nestabur > >> >> >> Any suggestions?¿ >> >> >> nestabur wrote: >> > >> > Yes, >> > >> >

Re: [rules-users] Creating fact instance programatically

2009-03-10 Thread nestabur
Any suggestions?¿ nestabur wrote: > > Yes, > > If I put a non existent package and type, the method getFactType returns > me > null value, but if I put the correct package and type it throws that > error. > > Thanks, > > NEStor > > 2009/3/8 Mich

[rules-users] Creating fact instance programatically

2009-03-08 Thread nestabur
Hi all, I'm trying to create a fact programatically like this: FactType myfact =package.getFactType(factTypeName); Object myPojo = myfact.newInstance(); An error occurs when calling the method getFactType, here my stackTrace: 36267-1236185246849-0:0:1:1 Exception while processing message: java.