[rules-users] RuleAgent is not retrieving updated rule?
Andres Bonifacio
bonifacio.andres at gmail.com
Wed Apr 2 16:50:17 EDT 2008
Here's how I did it:
1. I successfully deployed jbrms and insurance webapp (both using
Drools v 4.0.6) successfully to JBoss 4.0.5.
2. From the jbrms webapp, I modified the "Night Vehicle Place"
technical rule, just change the sysout statement.
3. Rebuild the binary package. Recreate the snapshot deployment -
InsuranceDemo.
4. Retest using the insurance url and see if the new version (Remember
the sysout stmt change in #2.) of the rule will be picked up by the
RuleAgent. Alas it did NOT.
Now this is of course inside a container environment. What is strange
though is if you tried to run the InsuranceCalculateTest which is a
JUnit test it recognize the rule change immediately. Which I think
should be the behavior exhibited on a container environment as well.
Right?
More information about the rules-users
mailing list