Re: [rules-users] drools 4.0.7 with jdk 1.4

2009-02-18 Thread Mark Proctor
NRAM wrote: Does anyone know whether Drools 4.0.7 support JDK 1.4 ? Also, can we use drools 4.0.7 BRMS tool with WAS 6.0 (I mean will it work with jdk 1.4)? Thanks Ram It's amazing what google will turn up: http://lists.jboss.org/pipermail/rules-dev/2007-November/000611.html "the BRMS in 4.

[rules-users] drools 4.0.7 with jdk 1.4

2009-02-18 Thread NRAM
Does anyone know whether Drools 4.0.7 support JDK 1.4 ? Also, can we use drools 4.0.7 BRMS tool with WAS 6.0? Thanks Ram -- View this message in context: http://www.nabble.com/drools-4.0.7-with-jdk-1.4-tp22053007p22053007.html Sent from the drools - user mailing list archive at Nabble.com. ___

Re: [rules-users] Problem using KnowledgeAgent

2009-02-18 Thread Mark Proctor
Michael Neale wrote: So from the filesystem it won't pick up changes? (does it throw the same exception). I believe the exception shown is a red herring, as the looping thread of the scanner is interrupted as part of the stop() process and we log that exception, incase the exception was cau

Re: [rules-users] Problem using KnowledgeAgent

2009-02-18 Thread Michael Neale
So from the filesystem it won't pick up changes? (does it throw the same exception). On Thu, Feb 19, 2009 at 5:34 AM, Dan Seaver wrote: > > Mark, > I have some more information for you. The exception occurs when I issue: > > agent.monitorResourceChangeEvents(true|false) > > If I comment out that

[rules-users] Annotation-Defined POJO Rules?

2009-02-18 Thread Eric Jain
Found this page here which describes how to write POJO rules: http://docs.codehaus.org/display/DROOLS/Drools+Spring+Tutorial Neat! But I don't see any mention of this in the current versions of Drools :-( Was this approach abandoned? ___ rules-users ma

Re: [rules-users] Re: drools-solver [StartingSolutionInitializer]

2009-02-18 Thread Andrew Waterman
Hi Geoffrey, Before, I was simply using a string id, based upon row and column. Now I've implemented a simple generator for an integer based id. This has helped my scoring, as the same two tokens are only matched once, in order, as opposed to being matched twice (or even three times). T

[rules-users] Re: drools-solver [StartingSolutionInitializer]

2009-02-18 Thread Geoffrey De Smet
With kind regards, Geoffrey De Smet Andrew Waterman schreef: Hi, Thanks for the rules suggestions, using a simple generated id has radically improved my solver times (and my scoring). It surprises me that generated id's radically improve solver times. Could you give an example of what you

Re: [rules-users] Problem using KnowledgeAgent

2009-02-18 Thread Dan Seaver
Mark, I have some more information for you. The exception occurs when I issue: agent.monitorResourceChangeEvents(true|false) If I comment out that code, I don't get the exception, but I don't get changes either. I tried it with both the Guvnor repository and with a deployed package on the file s

Re: [rules-users] Rule Templates and Guvnor

2009-02-18 Thread Mark Proctor
Vikrant Yagnick wrote: Hi Tony, We were actually looking to use Templates because our clients objected to having code or "pseudo-code" in an Excel along with the data. Templates, seem an excellent feature where the code bits can be separated from the data bits. One thought I had was to store

Re: [rules-users] Problem using KnowledgeAgent

2009-02-18 Thread Mark Proctor
Dan Seaver wrote: I setup a KnowledgeAgent using the example code in the JavaDoc for KnowledgeAgentFactory to access a compiled package in Guvnor. The package runs fine, but changes to the package are not picked up. I believe this is due to the ChangeSet notification thread being interrupted. But

Re: [rules-users] re:KnowledgeAgent and Guvnor

2009-02-18 Thread Mark Proctor
J Michael Dean wrote: So I build the KnowledgeBase with a url, and I can change the polling interval from the default 60 with a property. The final piece of this is the local cache directory that covers the situation of not being able to connect to Guvnor. Sorry for my confusion. You can eit

RE: [rules-users] Rule Templates and Guvnor

2009-02-18 Thread Vikrant Yagnick
Hi Tony, We were actually looking to use Templates because our clients objected to having code or "pseudo-code" in an Excel along with the data. Templates, seem an excellent feature where the code bits can be separated from the data bits. One thought I had was to store the templates in the "oth

Re: [rules-users] Rule Templates and Guvnor

2009-02-18 Thread Toni Rikkola
Hi, You can't use templates at the moment. But you can use the copy function in the rule editor. Create a rule that is used as a base, disable it and copy this rule when creating new ones. Toni Rikkola Vikrant Yagnick wrote: Hi All, I was wondering if there is any support for Rule Templat

[rules-users] Rule Templates and Guvnor

2009-02-18 Thread Vikrant Yagnick
Hi All, I was wondering if there is any support for Rule Templates directly in Guvnor. I haven't been able to find anything in the official documentation or by playing around Guvnor. Does someone have any ideas as to how one would store templates in Guvnor? Cheers, Vikrant Yagnick Software De

[rules-users] Problem using KnowledgeAgent

2009-02-18 Thread Dan Seaver
I setup a KnowledgeAgent using the example code in the JavaDoc for KnowledgeAgentFactory to access a compiled package in Guvnor. The package runs fine, but changes to the package are not picked up. I believe this is due to the ChangeSet notification thread being interrupted. But why? Also, I'm ge