Re: [rules-users] Drools Persistence Problem

2010-01-08 Thread dmiller44
And, for what it is worth, this is a Spring project. I don't know if that changes anything, or allows me to configure things differently. dmiller44 wrote: > > I'm using Tomcat 5.5.27 -- I followed the guide you posted, so everything > described step by step is how I set up my Tomcat instance

Re: [rules-users] Drools Persistence Problem

2010-01-08 Thread dmiller44
I'm using Tomcat 5.5.27 -- I followed the guide you posted, so everything described step by step is how I set up my Tomcat instance. The only difference was, when I used the JNDI config they have in resources.properties, and added the tag in context.xml, I get an error that says: Caused by: jav

Re: [rules-users] Problem using BRMS and Knowledge Agent

2010-01-08 Thread HonorGod
Is this issue resolved for you yet? Thank You! hockey_dave wrote: > > Changing the changeset xml doesn't work for me. I'm using 5.1.0.M1 and I > now get this error. > > [#|2009-10-26T08:54:44.070-0400|INFO|sun-appserver2.1|javax.enterprise.system.st > ream.out|_ThreadID=22;_ThreadName=RTSel

Re: [rules-users] How to create nested rules in Drool Guvnor

2010-01-08 Thread malkhafaji
If such capability is not available, what is the best approach to override rules for specific clients? I cannot think of any way around this but to duplicate the rules for clients with overriden behavior and then have some Java logic to determine which knowledge package to load. Any ideas anyone

Re: [rules-users] Drools Persistence Problem

2010-01-08 Thread nfox241
What application server are you using? What did you add to your server's configuration files? For tomcat 6, a few things have to be set. I've found the following link helpful in the past: http://docs.codehaus.org/display/BTM/Tomcat13 dmiller44 wrote: > > After trying suggestion below --

[rules-users] Using Decision Tables with Guvnor

2010-01-08 Thread HonorGod
Hi, I have uploaded decision tables into Guvnor which stores into MYSQL database. Now how do I access them from java code? Can someone point me with some resources / sample source code. Thanks. -- View this message in context: http://n3.nabble.com/Using-Decision-Tables-with-Guvnor-tp114518p1

Re: [rules-users] Drools Persistence Problem

2010-01-08 Thread dmiller44
After trying suggestion below -- I am now getting the following stack. I've tried deleting the database-generated files figuring a lock existed, but I still get this (even though the files get re-created): org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'd

Re: [rules-users] Decision table accessing my own methods

2010-01-08 Thread Jane James
You need to import the function. for example, import YourOtherClass import function Classroom.hasStudent - Original Message From: djb To: rules-users@lists.jboss.org Sent: Fri, January 8, 2010 8:30:20 AM Subject: [rules-users] Decision table accessing my own methods Hi there, I

Re: [rules-users] Drools Persistence Problem

2010-01-08 Thread nfox241
Do you have the correct Bitronix configuration setup in your server's configuration file? dmiller44 wrote: > > I'm having a lot of trouble getting the default Drools persistence stuff > working as it's documented in the Drools Flow manual. Below I've included > the stack trace, my dependenc

Re: [rules-users] Decision table accessing my own methods

2010-01-08 Thread Swindells, Thomas
Have you tried using 'this.hasStudent("$param")'? Or just writing 'hasStudent("$param"). Thomas > -Original Message- > From: rules-users-boun...@lists.jboss.org [mailto:rules-users- > boun...@lists.jboss.org] On Behalf Of djb > Sent: 08 January 2010 16:30 > To: rules-users@lists.jboss.or

[rules-users] Decision table accessing my own methods

2010-01-08 Thread djb
Hi there, I have been trying for hours now to get a decision table that can call my own methods. Lets say I've got a Classroom, and a list of 4 students. And my rule is to not have Bill and Bob in the same classroom. I have a method Classroom.hasStudent(String name), which will say whether the

[rules-users] Drools Persistence Problem

2010-01-08 Thread dmiller44
I'm having a lot of trouble getting the default Drools persistence stuff working as it's documented in the Drools Flow manual. Below I've included the stack trace, my dependencies (only those related to drools persistence), my code snipped (which gets compiled into a jar and used by a war) and th

Re: [rules-users] [planner] Re: Planner/solver - POSITIVE scoring... (twitter tag)

2010-01-08 Thread Geoffrey De Smet
Looks like #drools-planner doesn't work as a twitter tag, so #droolsplanner it is (might not be updated yet): http://twitter.com/search?q=%23droolsplanner With kind regards, Geoffrey De Smet Geoffrey De Smet schreef: > I am thinking the same thing. Flow and guvnor questions also come > thro

Re: [rules-users] Exception handling policy

2010-01-08 Thread David Sinclair
You can catch the consequence exception but writing a custom ConsequenceExceptionHandler and settting the ConsequenceExceptionHandlerOption on the the kb. >From there you are able to see what exception caused the problem, the rule where the exception originated, etc. and throw a different type of

[rules-users] [planner] Re: Planner/solver - POSITIVE scoring...

2010-01-08 Thread Geoffrey De Smet
I am thinking the same thing. Flow and guvnor questions also come through this list. I 'll ask in the planner manual to put [planner] in front of your subject :) PS: I 'll also make a twitter hash tag: #drools-planner By the way, Micheal did you see my reply on this thread too, about the global

Re: [rules-users] doubt in using collections and nested objects

2010-01-08 Thread Esteban Aliverti
Great! I didn't have time yesterday to check out your issue. I'm glad you solved it. Best, On Fri, Jan 8, 2010 at 3:51 AM, Sudhir M wrote: > Hi Esteban, > > By making the Student class Implementing Serializable interface I got > it working. > > Thanks, > sudhir > ___

Re: [rules-users] Planner/solver - POSITIVE scoring...

2010-01-08 Thread Swindells, Thomas
I'd vote to keep it on here, the traffic isn't that high and people like me can learn about what other features exist. Plus it makes searching for answers so much easier. Thomas > -Original Message- > From: rules-users-boun...@lists.jboss.org [mailto:rules-users- > boun...@lists.jboss.

[rules-users] Exception handling policy

2010-01-08 Thread Gerret Hansper
Hello, I have got a question about Exception handling policy in Drools 5.0. My issue is a case where a client application triggered rule execution on the server, which was throwing a ConsequenceException. The client, not having drools libs in its classpath, then had a ClassNotFoundException. I wou