0
votes

I created a simple activiti process with one rule. Then i generated the .bar to deploy it on apache server. but whenever i try to deploy it i get the following error on apache's log: activiti java.lang.ClassNotFoundException: org.drools.runtime.rule.AgendaFilter

I'm new at creating processes with activiti. can anyone help me?

I solved this first problem thanks to Abbas Kararawala

Now i have another problem: my service class is implementing JavaDelegate interface and i'm calling it from a service task. i tested my process in embedded deployement and it worked. now i need it to work on standalone deployement but i keep getting the same error: com.vaadin.event.ListenerMethod$MethodException: Invocation of method componentEvent in org.activiti.explorer.ui.task.TaskDetailPanel$4 failed.

As Abbas Kararawala told me i should put my class in activiti-context.xml file, but i don't have one... I do have i file named activiti.cfg.xml, i've placed it under src/main/resources, is that correct? (thus it's not working)

1
there's a .jar which you need to deploy along with the .bar file. - Abbas Kararawala
is it the jar generate on the deployement folder? i did put it under the lib folder of apache - imenb
i forgot to mention that i am calling a java class as a service in my process - imenb

1 Answers

1
votes

You should put your .jar files in /tomcat/webapps/activiti-explorer/WEB-INF/lib. IMPORTANT: It is required to put any external jar (used by your code) in the same folder.

see if this can help you - activiti docs This is for activiti 6.0