7 Replies Latest reply on Mar 29, 2006 3:53 AM by koen.aers

    Issue in Deploy Par through Eclipse editor

    tom_sri74

      when i select Par file in eclipse editor and right click and click "Deploy process Archive"

      Dialog box showing as default

      Http Deplyoment Setting
      Server Name: localhost
      Server Port: 8080
      Deployer: jbpm/upload

      when i click finish it is showing Unexpected Deployment Exception.

      I check in Log file it saying java.io.FileNotFoundException: http://localhost:8080/jbpm/upload

      Kindly help me How it will resolve. I didnot get this issue for other PC.
      It is very urgent. I am not able to proceed my work.

      Thanks and regards
      Srikanth

      Error Detail

      java.io.FileNotFoundException: http://localhost:8080/jbpm/upload
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:713)
      at org.jbpm.ui.util.ProcessDeployer.deployProcessWithServlet(Unknown Source)
      at org.jbpm.ui.util.ProcessDeployer.access$2(Unknown Source)
      at org.jbpm.ui.util.ProcessDeployer$1.run(Unknown Source)
      at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
      at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
      at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447)
      at org.jbpm.ui.util.ProcessDeployer.showProgressMonitorDialog(Unknown Source)
      at org.jbpm.ui.util.ProcessDeployer.deploy(Unknown Source)
      at org.jbpm.ui.wizard.ProcessDeploymentWizard.performFinish(Unknown Source)
      at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:676)
      at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:349)
      at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
      at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
      at org.eclipse.jface.window.Window.open(Window.java:787)
      at org.jbpm.ui.action.DeployProcessActionDelegate.run(Unknown Source)
      at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
      at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
      at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
      at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
      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:324)
      at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
      at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
      at org.eclipse.core.launcher.Main.run(Main.java:973)
      at org.eclipse.core.launcher.Main.main(Main.java:948)

        • 1. Re: Issue in Deploy Par through Eclipse editor
          tom_sri74

          Even i remove upload
          ie Deployer: jbpm (instead of jbpm/upload)

          it showing deploy successfuly in eclipse but i check in database jbpm_processdefinition no record are there. I am using MySql 5.1

          • 2. Re: Issue in Deploy Par through Eclipse editor
            brianmb99

            Hi Srikanth,

            What version of the editor are you using? I'm using 3.0.5 and I've never been able to get the deployPar in the context menu to work.

            I set up a packaging task to put the processdefinition, gpd, and image file into a zipped file called myprocessname.par, with any classes I need deployed to the database in /classes in the par file, then use an ant task like:

            <target name="deploy.par">
             <taskdef name="deploypar" classname="org.jbpm.ant.DeployParTask">
             <classpath --make sure the jbpm-[version].jar is in this classpath--/>
             </taskdef>
             <deploypar par="build/myprocess.par" />
            </target>
            .

            I'm using version 3.0.2 though - I think the deployment class changed in 3.1 to org.jbpm.ant.DeployProcessTask.

            More info on ways to deploy processes can be found at http://docs.jboss.org/jbpm/v3/userguide/jpdl.html.

            -Brian

            • 3. Re: Issue in Deploy Par through Eclipse editor
              tom_sri74

              i am using gpd 3.0.6

              regards
              Srikanth

              • 4. Re: Issue in Deploy Par through Eclipse editor
                koen.aers

                Before you use the 'deploy process archive' menu option in the GPD, you have to make sure the jBPM server is running.

                Regards,
                Koen

                • 5. Re: Issue in Deploy Par through Eclipse editor
                  purvi.shah

                  Koen,

                  I am also facing the same kind problem.

                  I am using jbpm startup kit 3.0.2.

                  I have deploy process through menu,but not getting Default setting window,I got only message Process deployed succesfully.

                  I also have set start state and assign to swimalne too.

                  I am using HSQLDB(default one)

                  I am not able to see any record in HSQLDB manager and not process instance link in webconsole.

                  I able to see my process name in webconsole with version -1 .

                  can you guide me?

                  Regards

                  Thank you

                  • 6. Re: Issue in Deploy Par through Eclipse editor
                    purvi.shah

                    Hi koen,
                    one more problem I am facing

                    If i changed websale process definition and try to deploy it, it is giving me following error .

                    An unexpected exception caused the deployment to fail

                    Can you tell me what is the problem.

                    Regards
                    Purvi

                    • 7. Re: Issue in Deploy Par through Eclipse editor
                      koen.aers

                      Purvi,

                      I can't tell you if you do not post any more info. Start with the relevant part of the server log when you do the deployment, the relevant part of the eclipse log file.

                      Regards,
                      Koen