5 Replies Latest reply on Jan 16, 2008 1:13 PM by kukeltje

    jbpm designer deployment problem

    jh398

      Hi,
      I have just started using jbpm and currently using jbpm designer 3.1.2 and eclipse 3.3,

      When i try to follow the example from the jbpm getting started guide and deploy from the eclipse jbpm designer (Test connection is OK), i get the following error,

      !ENTRY org.jbpm.gd.jpdl 4 0 2008-01-15 22:32:59.714
      !MESSAGE Exception happened while deploying
      !STACK 0
      java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/jbpm-console/upload
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1170)
      at org.jbpm.gd.jpdl.util.ProcessDeployer.deployProcessWithServlet(Unknown Source)
      at org.jbpm.gd.jpdl.util.ProcessDeployer.access$3(Unknown Source)
      at org.jbpm.gd.jpdl.util.ProcessDeployer$1.run(Unknown Source)
      at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
      at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
      at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:495)
      at org.jbpm.gd.jpdl.util.ProcessDeployer.showProgressMonitorDialog(Unknown Source)
      at org.jbpm.gd.jpdl.util.ProcessDeployer.deploy(Unknown Source)
      at org.jbpm.gd.jpdl.deployment.DeploymentForm$1.widgetSelected(Unknown Source)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)
      at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3350)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2954)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
      at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
      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:585)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1173)


      can anyone help?

      many thanks

      Jeff

        • 1. Re: jbpm designer deployment problem
          kukeltje

          what does the server log say?

          • 2. Re: jbpm designer deployment problem
            jh398

            when i try to deploy from eclipse, i can't see any specifit error logging on the server, but i keep getting the server message below.

            (btw, the websale demo can be deployed successfully from the command line, it fails only when i tried to modify it and redeploy from eclipse)

            many thanks,

            Jeff

            server log:

            08:26:27,848 DEBUG [DbPersistenceService] committing hibernate transaction
            08:26:27,849 DEBUG [DbPersistenceService] closing hibernate session
            08:26:27,849 DEBUG [Services] closing service 'tx': org.jbpm.tx.TxService@721cbd
            08:26:27,849 DEBUG [JobExecutorThread] obtained locks on following jobs: []
            08:26:27,849 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[tx, message, scheduler, logging, persistence, authentication]'
            08:26:27,849 DEBUG [JbpmContext] creating org.jbpm.JbpmContext@bcc74a
            08:26:27,849 DEBUG [DbPersistenceServiceFactory] creating persistence service
            08:26:27,849 DEBUG [DbPersistenceService] creating hibernate session
            08:26:27,849 DEBUG [DbPersistenceService] beginning hibernate transaction
            08:26:27,850 DEBUG [JbpmContext] closing JbpmContext
            08:26:27,850 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService@17a6ac
            08:26:27,850 DEBUG [DbPersistenceService] committing hibernate transaction
            08:26:27,850 DEBUG [DbPersistenceService] closing hibernate session
            08:26:27,850 DEBUG [Services] closing service 'tx': org.jbpm.tx.TxService@bf81f2
            08:26:32,850 DEBUG [JobExecutorThread] acquiring jobs for execution...
            08:26:32,850 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[tx, message, scheduler, logging, persistence, authentication]'
            08:26:32,850 DEBUG [JbpmContext] creating org.jbpm.JbpmContext@ec5d34
            08:26:32,850 DEBUG [DbPersistenceServiceFactory] creating persistence service
            08:26:32,851 DEBUG [DbPersistenceService] creating hibernate session
            08:26:32,851 DEBUG [DbPersistenceService] beginning hibernate transaction
            08:26:32,851 DEBUG [JobExecutorThread] querying for acquirable job...
            08:26:32,851 DEBUG [JobExecutorThread] no acquirable jobs in job table
            08:26:32,851 DEBUG [JbpmContext] closing JbpmContext
            08:26:32,851 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService@48c066
            08:26:32,852 DEBUG [DbPersistenceService] committing hibernate transaction
            08:26:32,852 DEBUG [DbPersistenceService] closing hibernate session
            08:26:32,852 DEBUG [Services] closing service 'tx': org.jbpm.tx.TxService@4f7e3a
            08:26:32,852 DEBUG [JobExecutorThread] obtained locks on following jobs: []
            08:26:32,852 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[tx, message, scheduler, logging, persistence, authentication]'
            08:26:32,852 DEBUG [JbpmContext] creating org.jbpm.JbpmContext@e8192d
            08:26:32,852 DEBUG [DbPersistenceServiceFactory] creating persistence service
            08:26:32,852 DEBUG [DbPersistenceService] creating hibernate session
            08:26:32,852 DEBUG [DbPersistenceService] beginning hibernate transaction
            08:26:32,853 DEBUG [JbpmContext] closing JbpmContext

            • 3. Re: jbpm designer deployment problem
              kukeltje

              sorry, if there is no error in the server log then either it is a different server or it is a very exotic situation. Either way it is impossible for me to help you.

              • 4. Re: jbpm designer deployment problem
                jh398

                thanks very much for your help.

                can you suggest a configuration that might work? which version of jboss server and which version of the eclipse plugin i should try.

                Jeff

                • 5. Re: jbpm designer deployment problem
                  kukeltje

                  JBoss AS 4.05 and 4.2 both work for me with the latest jbpm core (3.2.2) and gpd (3.1.x)