-
1. Re: jbpm.cfg.xml in EAR
schlegel Sep 20, 2008 12:11 AM (in response to ipazmino)Hi Ivan
I did put this file in the root of the ear - same as jboss-seam.jar and
security.drl -
2. Re: jbpm.cfg.xml in EAR
ipazmino Sep 20, 2008 12:36 AM (in response to ipazmino)Hi Hans,
THanks for you time. I have placed the jbpm.cfg.xml file in the WebContent folder, together with a jbpm descriptor todo.jpdl.xml. The later file reads:
<process-definition name="todo" xmlns="urn:jbpm.org:jpdl-3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:jbpm.org:jpdl-3.2 http://jbpm.org/xsd/jpdl-3.2.xsd"> <start-state name="start"> <transition to="todo" /> </start-state> <task-node name="todo"> <task name="todo" description="#{todoList.description}"> <assignment actor-id="#{actor.id}" /> </task> <transition to="done" /> </task-node> <end-state name="done"></end-state> </process-definition>
and have it registered in components.xml, as follows:
<bpm:jbpm> <bpm:process-definitions> <value>todo.jpdl.xml</value> </bpm:process-definitions> </bpm:jbpm>
but when trying to deploy i get the following errors
ERROR [JpdlXmlReader] couldn't parse process definition org.dom4j.DocumentException: null Nested exception: null Nested exception: java.net.MalformedURLException at java.net.URL.<init>(URL.java:601) at java.net.URL.<init>(URL.java:464) at java.net.URL.<init>(URL.java:413) ERROR [[/seamExamples]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.bpm.jbpm
but the xmls are well formed, actually the iDE would notice me if they were wrong I think
Any ideas? am I missing something?
-
3. Re: jbpm.cfg.xml in EAR
ipazmino Sep 22, 2008 5:47 PM (in response to ipazmino)You won't believe it, it worked! I mean it deployed.
I was missing the hibernate configuration file, and moved it outside the WEB-INF folder, together with
jbpm.cfg.xml and todo.jpdl.xml files.The problem now, is that none of my views can be found. Any view, even those from examples that were working, now return a HTTP Status 404. Why can be this happening?
Thanks in advance.