Re: [rules-users] Snapshot doesn't include the updated rule?

2008-07-30 Thread Keith Bennett
I am experiencing a similar problem. See http://www.nabble.com/Re:-Caching-of-JBoss-Rules-bytecode-field-readers-p18374642.html for an explanation of what I'm experiencing. Does anyone know why updated rules are not available without a server restart? This is unacceptable to my customer, as a

Re: [rules-users] Caching of JBoss Rules bytecode field readers

2008-07-09 Thread Keith Bennett
. Mark Keith Bennett wrote: I found a link that might explain what is happening with the problem I described in another posting (included below): http://jira.jboss.com/jira/browse/JBRULES-1009 Mark Proctor, if you read this posting, can you please explain in more detail how and why JBoss Rules

[rules-users] New rules in source file not loaded when application redeployed

2008-07-02 Thread Keith Bennett
I am packaging my rules as a drl source file in a jar that is then bundled in a war file that is then deployed to Tomcat. In my implementation, the rulebase is cached the first time it is used in my application, but when I add new rules to the source file and rebuild my application then redeploy

Re: [rules-users] Business rule name weirdness

2008-06-25 Thread Keith Bennett
PROTECTED] wrote: Can you verify that you are not running a compiled version of the old rules (perhaps by adding System.out.println(New version); to the LHS in the new rules)? Keith Bennett wrote: Does anyone have any idea why drools.getRule().getName() inside of the rule consequence would

Re: [rules-users] Problems using shadow proxies and Hibernate lazy initialization

2008-04-03 Thread Keith Bennett
open a JIRA to fix the place you are seeing this info? For more current info, take a look at this blog post, specially the end on how to disable shadow facts: http://blog.athico.com/2008/02/shadow-facts-what-you-always-wanted-to.html []s Edson 2008/4/2, Keith Bennett [EMAIL

[rules-users] Problems using shadow proxies and Hibernate lazy initialization

2008-04-02 Thread Keith Bennett
I am currently using Drools to validate an extensive object graph. When I validate a transient object graph (i.e., not persisted via Hibernate) inside of a JUnit test method, validation occurs successfully. However, when I retrieve the same object graph from Hibernate and subsequently validate

Re: [rules-users] Problems using functions in .drl file

2008-01-08 Thread Keith Bennett
the Drools engine and IDE to develop a rules component for them. I hope I can get this environment working. On 1/8/08, Michael Neale [EMAIL PROTECTED] wrote: I think you need java 5 for the ide even though the engine can run with 1.4 Sent from my iPhone On 08/01/2008, at 5:57, Keith Bennett

[rules-users] Problems using functions in .drl file

2008-01-07 Thread Keith Bennett
I am having problems using functions in my .drl file. When I add a function, I get the following two errors: ImportError: PackageName.Function.function Syntax error, static imports are only available if source level is 5.0 Has anyone else seen this? I am using Eclipse 3.2.2, Eclipse Drools IDE