[jboss-jira] [JBoss JIRA] Created: (JBRULES-2338) Guvnor Doesn't Update Rule Cache after Build
Robert Morse (JIRA)
jira-events at lists.jboss.org
Sat Nov 14 19:55:30 EST 2009
Guvnor Doesn't Update Rule Cache after Build
--------------------------------------------
Key: JBRULES-2338
URL: https://jira.jboss.org/jira/browse/JBRULES-2338
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-guvnor
Affects Versions: 5.0.1.FINAL
Environment: JBoss 5.1.0.GA, Seam 2.2.0, Guvnor 5.0
Reporter: Robert Morse
Assignee: Mark Proctor
Priority: Critical
Not sure if this is a Seam or Guvnor issue, but since I didn't get any comments from the Seam or Drools forums, I thought I'd try here.
I have a Seam 2.2.0 application that uses Guvnor 5.0 as the rule repository. On server startup, Seam grabs the current version of rules from Guvnor. However, if the rules are changed, and rebuilt using the Guvnor UI, the changes are not made to Seam. At first I thought restarting the server would fix this, however, the JBoss work directory needs to be deleted, and then the server restarted to guarantee the current rule package is used. Seam's component.xml file allows you to specify a cache and poll values. The poll value appears to do nothing, and if the cache value is specfied, and the rules are rebuilt, the server will hang when it call fireAllRules(). Everything works fine as long as the rules aren't rebuilt using Guvnor.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list