[jboss-user] [JBoss jBPM] - Error on deploying business process

t.schenk do-not-reply at jboss.com
Sat Feb 3 08:52:47 EST 2007


Hello all together,

i changed the sample process from the starter kit in that way, that i added an node with an actionhandler and removed the task-node. My process is described as the above xml-statement:

<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <process-definition 
  |   xmlns="urn:jbpm.org:jpdl-3.1"
  |   name="simple">
  |    <start-state name="start">
  |       <transition name="Step1" to="node1">
  |       </transition>
  |    </start-state>
  |    <end-state name="end"></end-state>
  |    <node name="node1">
  |       <transition name="Step2" to="end"></transition>
  |    
  |       <action class="com.sample.action.MessageActionHandler">
  |          <message>Test</message>
  |       </action>
  |    </node>
  | </process-definition>

The deployment of the above process ends with the following error:
java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/jbpm/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)
  | 	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(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	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)
  | 

When i changed the process in a way, that the transition performs my action and not the node i can deploy the process without any problem. The process that can be deployed is the following:

<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <process-definition 
  |   xmlns="urn:jbpm.org:jpdl-3.1"
  |   name="simple">
  |    <start-state name="start">
  |       <transition name="Step1" to="node1">
  |          <action name="action1" class="com.sample.action.MessageActionHandler">
  |             <message>Test</message>
  |          </action>
  |       </transition>
  |    </start-state>
  |    <end-state name="end"></end-state>
  |    <node name="node1">
  |       <transition name="Step2" to="end"></transition>
  |    
  |    </node>
  | </process-definition>

Can someone find out why i cann't deploy the process with the node actionhandler ???

Greetings from germany,
Till Schenk

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010411#4010411

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010411



More information about the jboss-user mailing list