1 Reply Latest reply on Feb 12, 2009 11:23 PM by dhanushgopinath

    jBPM-BPEL - IntegrationConfigurator

    rarondini

      Hi,

      The jBPM fail on start JBoss and exist process instance with error.

      The error occurs when try to cast token.getNode() to Receive. The token.getNode() is returning an Invoke node. Follow code of the IntegrationControl.java

      for (Iterator i = integrationSession.findReceiveTokens(processDefinition).iterator(); i.hasNext();) {
      Token token = (Token) i.next();
      Receive receive = (Receive) token.getNode();
      integrationService.jmsReceive(receive.getReceiveAction(), token, this, true);
      }

        • 1. Re: jBPM-BPEL - IntegrationConfigurator
          dhanushgopinath

          hi,

          This is happening because a token holds the last executed node and ur last executed node was invoke.

          However i think this is a bug, since the

          integrationSession.findReceiveTokens(processDefinition)
          should return only tokens that hold receive nodes.

          Thanks
          Dhanush