Could you share your project created (github repo) to let us to have a look
and help you ? I have created a camel drools example (running in Apache
Karaf - OSGI Container) but you should be able to deploy the project as a
WAR in tomcat (
On Mon, May 5, 2014 at 4:47 PM, rt_olsson <roland.olsson(a)gmail.com> wrote:
I'm currently in the process of setting up a Drools (6.0.1) environment
scratch. The web applications are deployed on Tomcat (7.0.52) and
is using an MySQL (5.6.13) database. The goal is to have the KIE Workbench
up and running, together with jBPM and Drools. We also want to communicate
with Drools/jBPM via some kind of REST/SOAP service(s).
I have cloned the Drools source code repositories and built the various
binaries from there.
This is what I've done:
1) Installed Tomcat 7.0.52
a) applied configuration for Bitronix TM and the local MySQL server
(according to instructions in KIE WB README)
2) Deployed Drools Camel Server 6.0.1
a) added a dependency to kie-ci to the pom.xml file
b) built and deployed to the local Tomcat server
c) in WEB-INF/classes/knowledge-services.xml, changed the kie:kbase
packages attribute to reference "com.acme.drools"
d) restarted the webapp
3) Built and deployed KIE WB 6.0.1 (kie-wb-6.0.1.Final-tomcat7) to the
a) applied Tomcat specified configuration according to the README file
b) restarted the webapp
4) In KIE WB:
a) created a new repository
b) created a new organizational unit and attached it to the new repository
c) created a project
d) in the project I created one guided decision table with one
data model class, all this in the same package "com.acme.drools". The
decision table matches the defined class and various attribute values
combinations. If there is a match the rule's action is to set a new
attribute of the object.
e) built and deployed the project to the local Maven repository
At this point I can't see any evidence in the logs that the Drools Camel
server really picks up the newly created kjar. How do I know if it has?
Should I expect it to load the jar? Do I maybe need to configure something
more or differently to make the two apps work together?
5) Via the Drools Camel REST API, I then inserted a fact that should
the rule created and deployed in 4d+e. Unfortunately, it doesn't. Nothing
I can't get this to work. It is obviously something that I don't fully
understand when it comes to the interaction between KIE WB and Drools.
Does anyone out there have a small example of a working setup of KIE WB and
Drools Camel Server __with__ integration of the two through Maven?
View this message in context:
Sent from the Drools: User forum mailing list archive at Nabble.com
rules-users mailing list
Apache Committer / Architect @RedHat
Twitter : @cmoulliard | Blog : http://cmoulliard.github.io