0 Replies Latest reply on Mar 24, 2009 6:24 PM by mdesignz

    org.jbpm.JbpmException: couldn't find process definition

    mdesignz

      Hello,
      I have an operational Seam 2.1.1.GA application under JBoss 4.2.3.GA and Mac OSX JVM 1.5.  When I switch to JVM 1.6, rebuild, re-deploy, during JBoss startup I get the exception below.  The process definition that it can't find is in the root of my EAR.  I placed a copy in WEB-INF/ as well with the same results.  Again, works fine under JVM 1.5.  Any suggestions?



      Caused by: java.lang.RuntimeException: could not deploy a process definition
           at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:300)
           at org.jboss.seam.bpm.Jbpm.startup(Jbpm.java:80)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:597)
           at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
           at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
           at org.jboss.seam.Component.callComponentMethod(Component.java:2211)
           at org.jboss.seam.Component.callCreateMethod(Component.java:2134)
           at org.jboss.seam.Component.newInstance(Component.java:2094)
           ... 141 more
      Caused by: org.jbpm.JbpmException: couldn't find process definition 'DocumentSubmit'
           at org.jbpm.db.GraphSession.findLatestProcessDefinition(GraphSession.java:170)
           at org.jbpm.db.GraphSession.deployProcessDefinition(GraphSession.java:67)
           at org.jbpm.JbpmContext.deployProcessDefinition(JbpmContext.java:173)
           at org.jboss.seam.bpm.Jbpm.deployProcess(Jbpm.java:316)
           at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:294)
           ... 151 more