cancel
Showing results for 
Search instead for 
Did you mean: 

Activitii Integration with Drools Rules

anitajadi
Champ in-the-making
Champ in-the-making
Hi,

I am trying to integrate the drools rules in the activiti diagram,i.e. I have added the business rule task in the activitii,and deployed the process,along with the rules.drl file.Instead of bar file,I have war file containing,the activiti jar which in turn has process xml,.drl files.The tomcat gets started without any error,I am also able to load the application,however when I come to the last step,where I added the business rule task,it displays error on the tomcat console as "deployment 1 doess not contain any rules."
Please find the attached text file,which contains the error.Please let me know,if anyone has faced this issue.I have used the following jars in my project
activiti-engine-5.5.jar,activiti-spring-5.5.jar,drools-api-5.1.1.jar,drools-compiler-5.1.1.jar,drools-core-5.1.1.jar,drools-decisiontables-5.1.1.jar,,drools-grid-core-5.1.1.jar,drools-spring-5.1.1.jar,drools-templates-5.1.1.jar.

Regards
Anita
4 REPLIES 4

alvinbush
Champ in-the-making
Champ in-the-making
Hallo Anita,

did you see this issue http://forums.activiti.org/en/viewtopic.php?f=6&t=1266&p=5214&hilit=deployment+doesn%27t+contain+any...


I think this is the same problem. I also had the same problem today and could solve the problem with the comments in the above issue

greetings,

Alvin

anitajadi
Champ in-the-making
Champ in-the-making
Hi Alvin,
I have already seen this link,I have war file containing all the jars,xml instead of bar file.I downloaded the attachment which was provided in the link,and used the same code and try integrating into my code.Still I am facing the same issue.
Please let me know,is there any other way of bundling the rules in a war file.

Regards
Anita

alvinbush
Champ in-the-making
Champ in-the-making
Hello,

ok i have the .bar file for deployment.

you could try with <property name="deploymentResources" value="classpath*:/org/activiti/spring/test/autodeployment/autodeploy.*.bpmn20.xml" /> in the spring context xml. i don't know whether it supports .drl files.

Alvin

falko_menge
Champ in-the-making
Champ in-the-making
We provide an example using the Business Rule Task in our public Subversion repository:
https://svn.camunda.com/fox/trunk/demo/activiti5-twitter-business-rule-task
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.