[jboss-user] [jBPM] - Tomcat6 + Spring + JBPM5.3 integration

Houssem Salah do-not-reply at jboss.com
Tue Aug 14 07:08:36 EDT 2012

Houssem Salah [https://community.jboss.org/people/soyeur] created the discussion

"Tomcat6 + Spring + JBPM5.3 integration"

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


I have a web application configured to work in tomcat using spring . I'm trying to add JBPM workflow engine to my application.
I have configured persistence to work with MySql and JPA 2.0 in persistence.xml. and I have added a spring bean contaning transaction manager and EntityManagerFactory.
My probleme is I got the error saying *could not parse knowledge* when running the following:

KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newClassPathResource("process/Evaluation.bpmn"), ResourceType.BPMN2); 
KnowledgeBuilderErrors errors = kbuilder.getErrors();
KnowledgeBase kbase = kbuilder.newKnowledgeBase();

The line in green check if there is any errors. it contain [ProcessLoadError: unable to parse xml : Exception class java.lang.NullPointerException : null]

Any help will be great

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/20120814/e5d402b5/attachment-0001.html 

More information about the jboss-user mailing list