JBoss Community

Tomcat6 + Spring + JBPM5.3 integration

created by Houssem Salah in jBPM - View the full discussion

Hello

 

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

Thinx

Reply to this message by going to Community

Start a new discussion in jBPM at Community