[jboss-user] [JBoss jBPM] - Re: about process-state

erzed do-not-reply at jboss.com
Fri Aug 11 05:23:50 EDT 2006


Hi erverbody!

I've got a similar problem. I've created to process definitions. One includes a process state that should start the other process. I deployed both definitions and I can see them in the database.
However when I start the super process i get the followin message:

[WARN ] [11 Aug 2006 10:54:25,217] [main] org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog.Narrowing proxy to class org.jbpm.graph.node.StartState - this operation breaks ==

The super process instance is created. But the first call to signal() results in an exception. When I analyse the database i see that also the root token has been created. Unfortunately, it never leaves the start state of my super process (the log table in the database shows only a line with the token id and class "I" but no more occurences of the same token).

My processes are:<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <process-definition xmlns="urn:bearingpoint.com:pdl-3.1"
  | 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  | 	name="SuperFlow">
  | 
  | 	<!-- GENERAL PART OF EVERY PROCESS DEFINITION -->
  | 	<!-- This general action has to be present in order to use the sla functionality -->
  | 	<action name="slaAction"
  | 		class="com.bearingpoint.infonova.workflow.jbpm.SlaActionHandler" />
  | 
  | 	<!-- Needed for retry/wait message cleanup after a node is finished -->
  | 	<event type="node-leave">
  | 		<action name="nodeLeaveAction"
  | 			class="com.bearingpoint.infonova.workflow.jbpm.NodeLeaveActionHandler" />
  | 	</event>
  | 
  | 	<start-state name="start">
  | 		<transition name="" to="prior sub-process"></transition>
  | 	</start-state>
  |    <end-state name="end"></end-state>
  | 	<node name="prior sub-process">
  | 		<transition name="" to="callSubProcess"></transition>
  | 	</node>
  | 	<node name="after sub-process">
  |       <transition name="" to="end"></transition>
  | 	</node>
  | 	<process-state name="callSubProcess">
  | 		<sub-process name="SubFlow"></sub-process>
  | 		<transition name="" to="after sub-process"></transition>
  | 	</process-state>
  | 
  | </process-definition>
<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <process-definition xmlns="urn:bearingpoint.com:pdl-3.1"
  | 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  | 	name="SubFlow">
  | 
  | 	<!-- GENERAL PART OF EVERY PROCESS DEFINITION -->
  | 	<!-- This general action has to be present in order to use the sla functionality -->
  | 	<action name="slaAction"
  | 		class="com.bearingpoint.infonova.workflow.jbpm.SlaActionHandler" />
  | 
  | 	<!-- Needed for retry/wait message cleanup after a node is finished -->
  | 	<event type="node-leave">
  | 		<action name="nodeLeaveAction"
  | 			class="com.bearingpoint.infonova.workflow.jbpm.NodeLeaveActionHandler" />
  | 	</event>
  | 	<node name="sub-node 1">
  | 		<transition name="" to="sub-node 2"></transition>
  | 	</node>
  | 	<node name="sub-node 2">
  | 		<transition name="" to="sub-node 3"></transition>
  | 	</node>
  | 	<node name="sub-node 3">
  | 		<transition name="" to="end1"></transition>
  | 	</node>
  | 	<start-state name="start">
  | 		<transition name="" to="sub-node 1"></transition>
  | 	</start-state>
  | 	<end-state name="end1"></end-state>
  | </process-definition>

Anyone had this problem as well?
Or any ideas what this error message means?

Thanks a million!
roman

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

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



More information about the jboss-user mailing list