[jboss-user] [jBPM] - Can't start jbpm3 process

Vladimir Kiryakov do-not-reply at jboss.com
Mon Jul 26 02:45:58 EDT 2010


Vladimir Kiryakov [http://community.jboss.org/people/vladimir_kiryakov] replied to the discussion

"Can't start jbpm3 process"

To view the discussion, visit: http://community.jboss.org/message/554321#554321

--------------------------------------------------------------
I'm using MySQL 5.1 and jbpm 3-2-6 data source. In Eclipse Galileo I create a jbpm3 project. For example this similar process


<?xml version="1.0" encoding="UTF-8"?>

<process-definition  xmlns="urn:jbpm.org:jpdl-3.2"  name="sdf">


    <start-state name="start-state1">
        <transition to="state1"></transition>
    </start-state>


    <state name="state1">
        <event type="node-enter">
            <action class="com.app.HANDLERS.State1Handler"></action>
        </event>
        <transition to="end-state1"></transition>
    </state>


    <end-state name="end-state1"></end-state>


</process-definition>


Then a similar State1Handler code:
if i do like this, all excelets works

package com.app.HANDLERS;

import org.jbpm.graph.def.ActionHandler;
import org.jbpm.graph.exe.ExecutionContext;

public class State1Handler implements ActionHandler {
    @Override
    public void execute(ExecutionContext arg0) throws Exception {  
                sysout("hello world");  
    }
}

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/554321#554321]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100726/28f997ce/attachment.html 


More information about the jboss-user mailing list