1 Reply Latest reply on Mar 8, 2008 1:51 AM by Koen Aers

    Creating ProcessInstance Object from webapplication

    Ganesh Kumar Pulugam Newbie


      I persisted processdefinition.xml in to the database, and able to load it from database from my web application, using this code :

      JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
      try {

      GraphSession graphSession = jbpmContext.getGraphSession();
      ProcessDefinition processDefinition =
      ProcessInstance processInstance = new ProcessInstance(processDefinition);
      Token token = processInstance.getRootToken();

      but problem is when i am calling token.signal() it is giving an exception
      " couldn't load delegation class 'org.gss.jbpm.MessageActionHandler' "
      java.lang.ClassNotFoundException: class 'org.gss.jbpm.MessageActionHandler' could not be found by the process classloader

      I am unable to call ActionHandler class which is configured in my processdefinition.xml

      can any body help me