6 Replies Latest reply on Oct 21, 2011 10:44 AM by tsurdilovic

    Guvnor deployment package Problem

    leovleov

      HI,

       

       

      I saw the post "Guvnor deployment package" and thied the method both in it.

      1. Put the ChangeSet.xml in jbpm-gwt-console-server.war /WEB-INF/classes

      2.  tweak the ChangeSet.xml inside the files "jbpm-gwt-core-5.1.0.jar" and "jbpm-gwt-graph-5.1.0.jar".

      They do work partly and I got the same problem...

       

       

      My Process has a human task that contains a form need to be fill. After I build the package (my own created package), it show up on BPM console normally. However when the process goes to human task, it can't not show up the complete form but just partly of it, so I can't get the input data from human.

      This Process works fine in defaultPackage...Please help me fix this problem.

      Thanks a lot.

       

      My human task form "PlaceOrder.ftl"

      <html>

      <body>

      <h2>Sample Process Order Task</h2>

      <hr>

      Model Number: ${modelNumber}

      Quantity: ${quantity}

      Priority: ${priority}

      <br>

      <br>

      <form action="complete" method="post" enctype="multipart/form-data">

      Priority :          

        <input name="priority" type="text" value="${priority}">

        <br>

      Model Number : <input name="modelNumber" type="text" value="${modelNumber}">

        <br>

      Quantity (1-1000) : <input name="quantity" type="text" value="${quantity}">

        <br>

        <input value="Complete" type="submit">

        </form>

      </body>

      </html>

       

      It shows like

      wrong.png

      but it should show like

      right.png

       

      Error Message : error.txt

       

      By the way, in my own defined package I can't see the process diagram and initial starting form too. It looks like it can't connect any picture and form.

       

      Please help.

      Thanks.

        • 1. Re: Guvnor deployment package Problem
          melc

          Hello,

          Have you added these assets (image->png file, form -> ftl file etc) to the assets of your new package in guvnor??

          • 2. Re: Guvnor deployment package Problem
            leovleov

            Hi

            Thanks for reply.

             

            I add everything to the package in guvnor.

            When I add things to defaultPackage, everything works fine.

            But when it come to  my own defined package, it can't get connect to any pic, form ...

             

            I mean I can build the package correctly, but the process does not work well in jbpm-console.

            I can't see the diagram of process. I can't see correct forms. (All these works well in defaultPackage)

             

            Please help. Thanks.

            • 3. Re: Guvnor deployment package Problem
              swiderski.maciej

              As far as I know, that is current limitation of jBPM console, it works only with default package. An extract from documentation

              The current integration with the jbpm-console uses the following naming conventions to find the artefacts it needs (though we hope to update this to something more flexible in the near future):

              • All artefacts should be deployed to the "defaultPackage" on Guvnor (as that is where the jbpm-console will be looking)
              • A process should define "defaultPackage" as the package name (otherwise you won't be able to build your package on Guvnor)
              1 of 1 people found this helpful
              • 4. Re: Guvnor deployment package Problem
                tsurdilovic

                This is true for 5.1. If you build master we added support for console to see all packages in Guvnor ( https://issues.jboss.org/browse/JBPM-3320 ). Will be available in 5.2

                 

                Thanks.

                1 of 1 people found this helpful
                • 5. Re: Guvnor deployment package Problem
                  leovleov

                  Hi, Maciej and Tihomir

                   

                  Thanks for the answer.

                  I think this is an important feature for development in order to manage the system.

                   

                  By the way, does anyone know when the JBPM 5.2 will be released??

                  • 6. Re: Guvnor deployment package Problem
                    tsurdilovic

                    Hi Leo, currently it is scheduled for end of next month.