9 Replies Latest reply on Jan 18, 2007 6:37 AM by Saku Niskanen

    Process Deployment Error

    Venugopal L Newbie

      I create a simple process which is given by the guide. After creation of the process while deploying it returns the Error "An exception happened during the deployment."
      Reason:An unexpected exception caused the deployment to fail"

      Can any one tell me about how to resolve the problem.
      Thank you

      Venugopal L
      venugopal@elgi.com

        • 1. Re: Process Deployment Error
          Ronald van Kuijk Master

          I do not think you will get any response to this question other than this one

          • 2. Re: Process Deployment Error
            Saku Niskanen Newbie

             

            "kukeltje" wrote:
            I do not think you will get any response to this question other than this one

            Well, hopefully someone can help me with this then.

            I'm getting the same error when I'm trying to deploy the example process I created by following the instructions in the JpbmGettingStarted article.

            I'm using jbpm-starters-kit-3.1.3 and Eclipse 3.2.1.

            Eclipse's error log shows the following:

            java.io.FileNotFoundException: http://localhost:8080/jbpm-console/upload
            at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
            at org.jbpm.ui.util.ProcessDeployer.deployProcessWithServlet(Unknown Source)
            at org.jbpm.ui.util.ProcessDeployer.access$3(Unknown Source)
            at org.jbpm.ui.util.ProcessDeployer$1.run(Unknown Source)

            Accessing that URL from a browser results in a 404, as does trying to access http://localhost:8080/jbpm-console/

            JBoss web console (http://localhost:8080/web-console/) doesn't work either (404 again).

            However, the example stuff found at http://localhost:8080/jbpm/ does work.

            I don't know if I'm missing something obvious here, but I can't find those web apps from the Starter's Kit 3.1.3 installation or from the original zip file either.

            I was under the impression that the Starter's Kit should contain everything that I need, except Java of course.

            • 3. Re: Process Deployment Error
              Koen Aers Master

              Well, everything you need comes with the Starter's Kit indeed. A fresh download of the starter's kit will provide the wanted behaviour.
              But I am practically sure that you installed a later version of the GPD than the one that comes with the 3.1.3 Starter's Kit. The URL used to deploy in 3.1.3 is http://localhost:8080/jbpm. The URL that you are using is the default in later releases of the GPD as the webapp has changed it's home URL since.
              You can change the deploy URL either on the preference pages of the GPD or on the deployment page if you want to specify it on a per-process basis.

              Regards,
              Koen

              • 4. Re: Process Deployment Error
                Saku Niskanen Newbie

                 

                "koen.aers@jboss.com" wrote:
                But I am practically sure that you installed a later version of the GPD than the one that comes with the 3.1.3 Starter's Kit. The URL used to deploy in 3.1.3 is http://localhost:8080/jbpm.

                Yes, it could be. I've never used Eclipse before and there was some confusion when installing the GPD.

                Anyway, changing the deployment URL to http://localhost:8080/jbpm/ makes the deployment work, but when I log in as 'cookie monster' it still only shows the pre-installed example process so I'm probably still doing something wrong.

                Thanks,

                Saku

                • 5. Re: Process Deployment Error
                  Aakil Omar Newbie

                  In my setup, used the 3.1.2 startkit the full url is host:port/jbpm/upload

                  are you deploying from eclipse deployment tab?

                  Did you make any changes to your hibernate.cfg.xml or database-ds setting when you installed it?

                  • 6. Re: Process Deployment Error
                    Saku Niskanen Newbie

                     

                    "aakil786" wrote:
                    are you deploying from eclipse deployment tab?

                    Did you make any changes to your hibernate.cfg.xml or database-ds setting when you installed it?

                    Yes, I'm deploying using the deployment tab in Eclipse. "Test Connection" is ok and I get no errors anymore when I deploy, but the process isn't visible in the web user interface.

                    No, I didn't modify the database configuration in any way during or after installation.

                    regards,

                    Saku

                    • 7. Re: Process Deployment Error
                      Ronald van Kuijk Master

                      does the start state has a task in it? If not, it will not be visible in the 3.1.x releases of jbpm. In 3.2 it will

                      • 8. Re: Process Deployment Error
                        Saku Niskanen Newbie

                         

                        "kukeltje" wrote:
                        does the start state has a task in it? If not, it will not be visible in the 3.1.x releases of jbpm. In 3.2 it will

                        Yes, there is a "Send item" task (a round brown icon) in it. The task seems to be defined as it is in the Wiki article, but I think I will create the whole process again tomorrow to see if it helps.

                        regards,

                        Saku



                        • 9. Re: Process Deployment Error
                          Saku Niskanen Newbie

                           

                          "nikusa" wrote:
                          I think I will create the whole process again tomorrow to see if it helps.

                          I removed my installation of Eclipse and all JBPM stuff, did a fresh install of JBoss IDE 1.5.1 bundle (with an older version of GPD I was using before, I believe), re-created the process, deployed it and now the new process is visible in the web user interface.

                          thanks,

                          Saku