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
[https://community.jboss.org/message/719604#719604]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to