Red Hat Bugzilla – Bug 1015097
redirection to Phreak when reteoo JAR not found
Last modified: 2013-12-16 12:15:45 EST
Description of problem:
When the reteeoo JAR file is forgotten, a redirection to Phreak algorith is performed.
The following message can be found in the log:
[WARN - org.drools.core.RuleBaseConfiguration.getComponentFactory(RuleBaseConfiguration.java:910)] Cannot find drools-reteoo.jar on the classpath, switching to phreak
It might be interesting to be notified in a more visible way, either as an error, or an exception so that it is more obvious that RETE cannot be used in that scenario.
Version-Release number of selected component (if applicable):
Omit to add reteoo dependency in the POM and set the engine in RETE mode.
Steps to Reproduce:
This is an error that only makes sense to sysadmins and developers. I believe showing any message about this subject to users will not help in any way. The actual algorithm choice should be transparent to users.
Our understanding is that the current approach of presenting a log warning is the right way to go.
If you have any other suggestions, feel free to re-open this ticket, but I will close it for now.