<div dir="ltr">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 (<a href="https://github.com/cmoulliard/droolsjbpm-osgi-examples/tree/master/spring-camel-decision-table">https://github.com/cmoulliard/droolsjbpm-osgi-examples/tree/master/spring-camel-decision-table</a>).</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 5, 2014 at 4:47 PM, rt_olsson <span dir="ltr">&lt;<a href="mailto:roland.olsson@gmail.com" target="_blank">roland.olsson@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi.<br>
<br>
I&#39;m currently in the process of setting up a Drools (6.0.1) environment from<br>
scratch. The web applications are deployed on Tomcat (7.0.52) and everything<br>
is using an MySQL (5.6.13) database. The goal is to have the KIE Workbench<br>
up and running, together with jBPM and Drools. We also want to communicate<br>
with Drools/jBPM via some kind of REST/SOAP service(s).<br>
<br>
I have cloned the Drools source code repositories and built the various<br>
binaries from there.<br>
<br>
This is what I&#39;ve done:<br>
<br>
1) Installed Tomcat 7.0.52<br>
 a) applied configuration for Bitronix TM and the local MySQL server<br>
(according to instructions in KIE WB README)<br>
2) Deployed Drools Camel Server 6.0.1<br>
(drools-camel-server-example-6.0.1.Final)<br>
 a) added a dependency to kie-ci to the pom.xml file<br>
 b) built and deployed to the local Tomcat server<br>
 c) in WEB-INF/classes/knowledge-services.xml, changed the kie:kbase<br>
packages attribute to reference &quot;com.acme.drools&quot;<br>
 d) restarted the webapp<br>
3) Built and deployed KIE WB 6.0.1 (kie-wb-6.0.1.Final-tomcat7) to the local<br>
Tomcat server<br>
 a) applied Tomcat specified configuration according to the README file<br>
 b) restarted the webapp<br>
4) In KIE WB:<br>
 a) created a new repository<br>
 b) created a new organizational unit and attached it to the new repository<br>
 c) created a project<br>
 d) in the project I created one guided decision table with one accompanying<br>
data model class, all this in the same package &quot;com.acme.drools&quot;. The<br>
decision table matches the defined class and various attribute values<br>
combinations. If there is a match the rule&#39;s action is to set a new<br>
attribute of the object.<br>
 e) built and deployed the project to the local Maven repository<br>
<br>
At this point I can&#39;t see any evidence in the logs that the Drools Camel<br>
server really picks up the newly created kjar. How do I know if it has?<br>
Should I expect it to load the jar? Do I maybe need to configure something<br>
more or differently to make the two apps work together?<br>
<br>
5) Via the Drools Camel REST API, I then inserted a fact that should trigger<br>
the rule created and deployed in 4d+e. Unfortunately, it doesn&#39;t. Nothing<br>
happens.<br>
<br>
I can&#39;t get this to work. It is obviously something that I don&#39;t fully<br>
understand when it comes to the interaction between KIE WB and Drools.<br>
<br>
Does anyone out there have a small example of a working setup of KIE WB and<br>
Drools Camel Server __with__ integration of the two through Maven?<br>
<br>
Regards<br>
Roland<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/How-to-set-up-KIE-WB-Drools-Camel-Server-6-0-1-tp4029428.html" target="_blank">http://drools.46999.n3.nabble.com/How-to-set-up-KIE-WB-Drools-Camel-Server-6-0-1-tp4029428.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Charles Moulliard</div><div>Apache Committer / Architect @RedHat</div><div>Twitter : @cmoulliard | Blog : <a href="http://cmoulliard.github.io" target="_blank"> http://cmoulliard.github.io</a></div>
<div><br></div></div>
</div>