cancel
Showing results for 
Search instead for 
Did you mean: 

Can't deploy new model, can't find AgendaFilter...

wolpert
Champ in-the-making
Champ in-the-making
Not sure about this one… trying to deploy a new model, and the root exception is:

Caused by: java.lang.ClassNotFoundException: org.drools.runtime.rule.AgendaFilter
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
        … 36 more

This is with activiti 5.2, tried to deploy via probe webapp. I figure there was a problem in my model, but not sure how an error in my model caused this. Any ideas? Is there a drools jar file I need? If so, which one?
6 REPLIES 6

wolpert
Champ in-the-making
Champ in-the-making
I think I found the issue… I was deploying the 'raw' bpmn20.xml produced by the modeler app, not the 'dev friendly' one. However, I'm still confused on why Activiti was trying to load drools classes. Under what conditions is that expected?

(This was from an out-of-the-box deployment in a dev environment.)

wolpert
Champ in-the-making
Champ in-the-making
Nevermind on that 'found reason for the issue'… the dev xml file does have the same problem. Currently trying to remove parts of the flow to see what is triggering the error. Hopefully I'd have a sample to post, rather then my 20 tasks, 3 swim-lane variant.

jbarrez
Star Contributor
Star Contributor
Only when you are using the business rule task it should load the Drools classes.
Note that the business rule task is very experimental, and hasnt been documented.

wolpert
Champ in-the-making
Champ in-the-making
Ah, okay. Yes I did add that task type by accident. Thanks.

ingo_ri
Champ in-the-making
Champ in-the-making
I found a compile error after setting up the activiti development environment in eclipse. org.activiti.engine.impl.rules.RulesAgendaFilter could not be compiled because of the missing jar drools-api.jar.

And I found that http://maven.alfresco.com/nexus/content/groups/public/org/drools/drools-core/5.1.1/drools-core-5.1.1... has zero bytes. So the build is broken.

Who could repair the central repository?

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Ingo,

It looks like you ar right, but it is better to open a new topic fot this since it is totally not relaed to te current topic