5 Replies Latest reply on Jul 11, 2007 3:28 AM by thejavafreak

    jbpm configuration problem

    nstoddar

      I'm attempting to get Jbpm configured (this is my first time), but I keep getting an error that say it can't find my pageflow file.

      java.lang.IllegalArgumentException: pageflow resource not found: clientregistration.jpdl.xml
       at org.jboss.seam.core.Jbpm.getPageflowDefinitionFromResource(Jbpm.java:132)
       at org.jboss.seam.core.Jbpm.installPageflowDefinitions(Jbpm.java:210)
       at org.jboss.seam.core.Jbpm.startup(Jbpm.java:67)
       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)


      My components.xml file is setup just like the documentation says it should be:
      <core:jbpm>
       <core:pageflow-definitions>
       <value>clientregistration.jpdl.xml</value>
       </core:pageflow-definitions>
       </core:jbpm>

      In addition, my pageflow definition file is in the root of the EAR just like the documentation says it should be. (I've double-checked and triple-checked the name of the file -- they're the same.) I can't seem to find any reason why it's not working (or at least giving me some other error besides this one). Can anybody shed some light on my configuration problem?

        • 1. Re: jbpm configuration problem
          nstoddar

          I can't seem to delete my own posts here, so I guess I'll comment on it in case somebody else runs into the same problem. It turns out the Seam documentation is out of synch with what actually happens at runtime. The pageflow file should be placed in the classpath (/WEB-INF/classes) -- it worked for me at least.

          • 2. Re: jbpm configuration problem
            pmuir

            Your pageflow can be in the classpath of the ear or the war (the root of the ear is in it's classpath)

            • 3. Re: jbpm configuration problem
              nstoddar

               

              "petemuir" wrote:
              Your pageflow can be in the classpath of the ear or the war (the root of the ear is in it's classpath)


              I duplicated everything the "todo" example was doing, but couldn't find any reason why my pageflow couldn't be found. Could there be an issue running it on Glassfish?

              • 4. Re: jbpm configuration problem
                jbosskiki

                Hi,
                did you find the solution? I'm using glassfish too, and I have the same error... Where should I place my jpdl files?
                Thanks
                Mickael

                • 5. Re: jbpm configuration problem
                  thejavafreak

                  I've this problem too in glassfish v2 and seam 2

                  But I think the problem is on the glassfish and not seam.