13 Replies Latest reply on Apr 2, 2007 5:14 AM by kukeltje

    problem with deployment

    geg

      Hello,

      I installed:jbpm-jpdl-suite-3.2.GA.zip and JBossIDE-1.6.0.GA-ALL.zip.

      I made the example which is here:
      http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmGettingStarted

      there is an error at the time of deployment.
      when I click on ?test connection?, the error =
      "An exception happened while testing the server connection
      Motif : an unexpected exception caused the test connection operation to fail
      detail : http://localhost:8080/jbpm"

      on the forum, it is marked : "since 3.2.GA, the url has become http://localhost:8080/jbpm-console"


      what to make?

        • 1. Re: problem with deployment

          I'm using 1.5 I noticed that I should put jbpm-console/upload in the deployer field.
          I don't see where you put this in 1.6.

          Nevertheless, after this I got the validation message, but I noticed on my console log an error message : org.apache.commons.fileupload.FileUploadException: The request was rejected because non multipart boundary was found.
          And my new process does not show up. I haven't found any solution to this problem so far.

          • 2. Re: problem with deployment
            geg

            How to make then so that I can deploy my process??

            • 3. Re: problem with deployment
              j.wozniakowski

              1. Server deployer should be: "/jbpm/upload", but
              2. There are two bugs in UploadServlet in JBPM web application, so probably this is why you are not able to deploy process:

              a) wrong mime type check - I solved it by commenting this piece of code in UploadServlet:

              /*
              if (fileItem.getContentType().indexOf("application/x-zip-compressed") == -1) {
              log.debug("Not a process archive");
              return "Not a process archive";
              }
              */

              b) bad JbpmContext retrieve call (deprecated method returning null)- my solution:
              in doDeployment method replace this:

              JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext();

              by this:


              JbpmContext jbpmContext = JbpmConfiguration.getInstance().createJbpmContext();
              [...method code here...]
              jbpmContext.close();


              Generally same errors exist in DeployServlet - after fixing DeployServlet you are able to deploy process through HTML form.

              • 4. Re: problem with deployment
                kukeltje

                This all is because the jboss IDE 1.6 contains an 'old' version of te designer. Using the latest 3.0.x release should have fixed this on the designer side.

                Ronald

                • 5. Re: problem with deployment
                  geg

                  I cannot in which file change them.
                  I found the file ?UploadServlet.class?, but it is not modifiable.
                  Thus in which file to make these modifications??
                  knowing that I have to download JBoss here: http://www.jboss.com/products/jbpm/downloads

                  • 6. Re: problem with deployment
                    geg


                    I installed this: "JBoss jBPM Process Plugin Designer "
                    jbpm-jpdl-designer-3.0.13.zip

                    But the problem is the same one

                    • 7. Re: problem with deployment
                      j.wozniakowski

                       

                      "kukeltje" wrote:
                      This all is because the jboss IDE 1.6 contains an 'old' version of te designer. Using the latest 3.0.x release should have fixed this on the designer side.


                      Nope. This is Starters Kit Web Application problem, not the designer. Only thing to point in the designer is the server deployer path which was already mentioned.


                      I cannot in which file change them.
                      I found the file ?UploadServlet.class?, but it is not modifiable.
                      Thus in which file to make these modifications??


                      1. Download Starters kit source code
                      2. Modify UploadServlet.java
                      3. Compile + make JAR

                      • 8. Re: problem with deployment
                        j.wozniakowski

                        How can I post fixed jbpm-webapp.jar?

                        • 9. Re: problem with deployment
                          geg


                          where to find the source codes??
                          in the heading ?Downloads?, there are the achievable ones

                          • 10. Re: problem with deployment
                            geg

                            I do not know java at all, therefore how made one for complier the file ??

                            • 11. Re: problem with deployment
                              geg

                              I have succeeds with complier but it asks me importation which I do not have. I wanted to know if it were possible to provide me the file to compile??

                              • 12. Re: problem with deployment
                                geg

                                Can one help me for my file JAVA???

                                • 13. Re: problem with deployment
                                  kukeltje

                                  Geg,

                                  I don't think you will get much support from the community if you state that you do not know java at all. Learning java is something you should do first.