[jboss-user] [JBoss jBPM] - Re: Process Definition Location in a WAR File
syedtaj
do-not-reply at jboss.com
Tue Apr 22 09:49:05 EDT 2008
Hi,
I get the same problem.
The JBOSS classloader loads the process definition xml files using its custom class loader, for some reason it searches for the xml file with respect to the lib - jbpm-jpdl.jar. Place this jar in the WEB-INF/lib and then place your process definition xml files directly in the class folder under WEB-INF\classes.
If you want to create your own folder, configure like this -
Use pdSubProcess = processDefinition.parseXmlResource("<ownfolder>/processdefinition.xml");
| jbpmContext.deployProcessDefinition(pdSubProcess);
and
create the folder as
WEB-INF\classes\ownfolder\processdefintion.xml
I am not sure why this happens though.
Refer http://www.jboss.com/index.html?module=bb&op=viewtopic&t=133773
Cheers
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145837#4145837
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145837
More information about the jboss-user
mailing list