[jboss-user] [jBPM] - jBPM and JBoss web app

out sider do-not-reply at jboss.com
Fri Feb 24 13:44:32 EST 2012

out sider [https://community.jboss.org/people/out_sider] created the discussion

"jBPM and JBoss web app"

To view the discussion, visit: https://community.jboss.org/message/719604#719604

Ok I'm having quite some issues setting both jbpm and jboss working together...something as simple as running the jbpm process from a servlet is trunning to be a pain and all because jBoss can't find classes.

I made a Dynamic Web Project and didn't use Maven project so things are cleaner...and because it should work.

I just want to load a jbpmn2.0 from the repository in a servlet and run it using a WorkItemHanlder....but I get this:

java.lang.ClassNotFoundException: org.drools.runtime.process.WorkItemHandler

For some reason jBoss can't find a class from jBPM that should work on JBoss. What I did....and I think it's not the right solution...was add the knowledge-api.jar to the WEB-INF/lib. Although I can now deploy the app when I try to run it I get:

Error Unable to instantiate service for Class 'org.drools.builder.KnowledgeBuilderFactoryService'

I Honestly don't get why is it so hard to make a Jboss Web app using jBpm.

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120224/dc99d97a/attachment.html 

More information about the jboss-user mailing list