2 Replies Latest reply on Jun 10, 2006 9:12 AM by kukeltje

    using mySQL database

    natacam

      Hi
      I need to know which are the files I need to change to use mySQL database with JBPM.

      The thing is, I have read the user guide and all the messages in this forum, but i´m still getting errors and i´m really confused about those files.

      Please help!

        • 1. exception
          natacam

          This is the exception that i get when I try to deploy a process, using JBPM with mysql

          java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/jbpm/upload
           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1149)
           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)
           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.editor.form.deployment.DeploymentForm$1.widgetSelected(Unknown Source)
           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:3125)
           at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
           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:585)
           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)
          

          I suppose it´s something about the mysql configuration.
          Please, help me!
          Nata

          • 2. Re: using mySQL database
            kukeltje

            This seems you are deploying a process. Look in the logging of the jboss/jbpm server to see what is mentioned there