Re: [rules-users] OptaPlanner Guvnor integration

2013-06-25 Thread Bartek
I get it to work. Four steps where needed: 1. Adding private KnowledgeBase *kBase*;//injected with Spring // Build the Solver SolverFactory solverFactory = new XmlSolverFactory(/planner/solverConfig.xml); RuleBase ruleBase = ((InternalKnowledgeBase)

Re: [rules-users] OptaPlanner Guvnor integration

2013-06-25 Thread Geoffrey De Smet
Thanks for the clear recipe! I've documented step 2 and 3 in the optaplanner manual (step 1 is already partially documented and the other part is documented in guvnor's docs). Step 4 sounds like a bug, so please raise an issue if uploading the

Re: [rules-users] OptaPlanner Guvnor integration

2013-06-18 Thread Bartek
Thanks for your answer, it helps. But just after solving one problem I am facing another. When uploading my domain facts to Guvnor I get exception (from guvnor logs): ... Servlet.service() for servlet AssetFileServlet threw exception: javax.enterprise.event.ObserverException ... Caused by:

[rules-users] OptaPlanner Guvnor integration

2013-06-17 Thread Bartek
Hello, How Optaplanner and Guvnor should be integrated? I am using Drools 5.5.0.Final. I have configuration with spring so I have access to KnowledgeBase. I found in documentation: 5.3.4.2.2. A RuleBase (possibly defined by Guvnor)

Re: [rules-users] OptaPlanner Guvnor integration

2013-06-17 Thread Geoffrey De Smet
On 17-06-13 15:33, Bartek wrote: Hello, How Optaplanner and Guvnor should be integrated? I am using Drools 5.5.0.Final. I have configuration with spring so I have access to KnowledgeBase. I found in documentation: