[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1152) my unit tests are hanging with drools 4.0.1
Michael Neale (JIRA)
jira-events at lists.jboss.org
Thu Sep 13 03:00:11 EDT 2007
[ http://jira.jboss.com/jira/browse/JBRULES-1152?page=comments#action_12376562 ]
Michael Neale commented on JBRULES-1152:
----------------------------------------
As an immediate suggestion, using the bean property change listener is not recommended anymore.
By using "dialect 'mvel' " as a rule attribute (or package) you can do:
modify(fact) { field = value , ... }
etc... this will mean that the bean property change listener can be removed, and performance increased as each little change doesn't notify the engine.
But this is still worth looking into, as it may be covering up another problem. My suggestion is to get rid of the bean property listener and see if the rules behave as expected.
> my unit tests are hanging with drools 4.0.1
> -------------------------------------------
>
> Key: JBRULES-1152
> URL: http://jira.jboss.com/jira/browse/JBRULES-1152
> Project: JBoss Rules
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.0.1
> Environment: Java 1.5, Mac OX X 10.4.10, Drools 4.0.1
> Reporter: Steve Miner
> Assigned To: Edson Tirelli
> Fix For: 4.0.2
>
> Attachments: drools1152.zip
>
>
> Sorry, I don't have very specific information. Some of my project's unit tests are hanging with drools 4.0.1. No error, just not completing. I tried to debug a bit but could not figure it out. Consider this an early warning until I can gather more info.
> Everything worked fine with 4.0 so I went back to that.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list