-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Blocker
-
Resolution: Done
-
Affects Version/s: 5.1.0.ER6, 5.1.0.ER7
-
Component/s: JBossESB
-
Labels:None
-
Environment:
Fedora 14, OpenJDK.
-
Affects Testing:Regression
-
Release Notes Text:
-
Release Notes Docs Status:Documented as Resolved Issue
The following ruleflow (see attachment) doesn't execute properly inside BusinessRulesProcessor action. There are no exceptions in the log, just the following:
2011-01-14 10:13:15,400 DEBUG [org.jboss.soa.esb.lifecycle.LifecycleResource] (pool-46-thread-1) Creating resource using factory: org.jboss.internal.soa.esb.services.rules.DroolsRuleService$LifecycleRuleBaseStateFactory@41be1cac with identity ID-14
2011-01-14 10:13:15,413 DEBUG [org.jboss.internal.soa.esb.services.rules.DroolsRuleBaseState] (pool-46-thread-1) created new stateless session [1639720667]
2011-01-14 10:13:15,413 DEBUG [org.jboss.internal.soa.esb.services.rules.DroolsRuleBaseState] (pool-46-thread-1) created new runtime logger [1524320920]
2011-01-14 10:13:15,413 DEBUG [org.jboss.internal.soa.esb.services.rules.DroolsRuleBaseState] (pool-46-thread-1) calling execute(Iterable) on stateless session [1639720667]
2011-01-14 10:13:15,434 INFO [STDOUT] (pool-46-thread-1) startRuleFlow
2011-01-14 10:13:15,435 INFO [STDOUT] (pool-46-thread-1) rfg1a
2011-01-14 10:13:15,437 INFO [STDOUT] (pool-46-thread-1) rfg1b
2011-01-14 10:13:15,437 DEBUG [org.jboss.internal.soa.esb.services.rules.DroolsRuleBaseState] (pool-46-thread-1) calling close() on runtime logger [1524320920]
2011-01-14 10:13:15,509 DEBUG [org.jboss.soa.esb.listeners.message.ActionProcessingPipeline] (pool-46-thread-1) executing processor 1 org.jboss.soa.esb.samples.quickstart.businessrules5jbqa1855.ReviewMessage@9e69443
See that after the activation of rfg1b, the ruleflow simply exits while it should do a lot more stuff, mainly activate rfg2a and rfg4. When launched from Guvnor deployed into the very same SOA instance, it works fine.
Attached is:
1) A RuleFlow and a subflow that is supposed to be called.
2) The DRL file containing all the ruleflow groups and their rules.
3) Audit log from the Drools execution, showing that it simply ends after rfg1b.
4) The ESB archive with the quickstart. Mmay need some tweaking - mainly to update the path to the audit log in jboss-esb.xml and to update agent.pkg.properties to point to the Drools package. (Also packaged inside the archive.)