ClassCastException org.jbpm.bpel.integration.server.IntegrationConfigurator
---------------------------------------------------------------------------
Key: BPEL-303
URL:
https://jira.jboss.org/jira/browse/BPEL-303
Project: JBoss jBPM BPEL
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Engine
Affects Versions: jBPM BPEL 1.2 GA
Environment: JBoss 4.2.3 + Windows XP and JBoss 4.2.3 para RedHat Linux
Reporter: Rogerio Augusto Rondini
Assignee: Alejandro Guizar
Fix For: jBPM BPEL 1.2 GA
The jBPM-BPEL fail on start JBoss when exist process instance with state 'AP'
The error occurs when try to cast token.getNode() to Receive. The token.getNode() is
returning an Invoke node. Follows code of the IntegrationControl.java and stack trace.
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);
}
15:36:23,297 ERROR [[/process_ss]] Exception sending context initialized event t
o listener instance of class org.jbpm.bpel.integration.server.IntegrationConfigu
rator java.lang.ClassCastException: org.jbpm.bpel.graph.basic.Invoke
at org.jbpm.bpel.integration.jms.IntegrationControl.enableInboundMessage
Activities(IntegrationControl.java:344)
at org.jbpm.bpel.integration.server.IntegrationConfigurator.contextIniti
alized(IntegrationConfigurator.java:63)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira