]
Alejandro Guizar commented on BPEL-258:
---------------------------------------
PROBLEM
Below, "start activity" has the same meaning as in BPEL 2 section 10.4
[
]: "A
start activity is a <receive> or <pick> activity that is annotated with a
createInstance="yes" attribute, or an <extensionActivity> child
element."
This issue only affects <flow>s that contain start activities. Non-start activities
within the flow are never entered; that is, they never had Activity.enter(Token) invoked
on them. In consequence, non-start activities are never notified when their targets are
resolved by start activities or sequential successors of start activities.
PROPOSAL
Fix ProcessInstanceStarter to enter non-start activities.
Problem using flow with links
-----------------------------
Key: BPEL-258
URL:
http://jira.jboss.com/jira/browse/BPEL-258
Project: JBoss jBPM BPEL
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Engine
Affects Versions: jBPM BPEL 1.1 beta 3
Environment: JBoss-4.0.4.GA
Reporter: Cristian Benjamin Sostaric
Assigned To: Alejandro Guizar
Priority: Critical
Fix For: jBPM BPEL 1.1 GA
Attachments: links-example.tar.gz
When executing this process:
<flow>
<links>
<link name="LinkA"/>
<link name="LinkB"/>
</links>
<receive name="Receive"
createInstance="yes"
operation="someOperation"
partnerLink="PartnerLink"
portType="tns:SomeInterface"
variable="request">
<source linkName="LinkA" />
</receive>
<assign name="Assign">
<target linkName="LinkA" />
<source linkName="LinkB" />
<copy>
<from part="input" variable="request" />
<to part="result" variable="response"/>
</copy>
</assign>
<reply name="Reply"
operation="someOperation"
partnerLink="PartnerLink"
portType="tns:SomeInterface"
variable="response">
<target linkName="LinkB" />
</reply>
</flow>
The process doesn't finish at all and It gets stuck with this message:
WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.graph.def.CompositeActivity -
this operation breaks ==
The server.log throws this:
2007-06-05 11:42:53,781 WARN
[org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog] Narrowing proxy to class
org.jbpm.bpel.graph.def.CompositeActivity - this operation breaks ==
2007-06-05 11:42:53,782 DEBUG [org.jbpm.bpel.integration.jms.IntegrationControl] added
outstanding request:
receiver=org.jbpm.bpel.integration.def.Receiver@62e21b[partnerLink=PartnerLink,operation=someOperation,messageExchange=<null>,activity=Receive(Receive),id=231],
token=Token(/),
request=org.jbpm.bpel.integration.jms.OutstandingRequest@f75278[replyQueue=JMS_TQ13,correlationID=ID:9-11810545737682]
2007-06-05 11:42:53,786 DEBUG [org.jbpm.context.exe.VariableContainer] create variable
'LinkA' in 'TokenVariableMap[primary]' with value
'LinkInstance(name=LinkA, status=null)'
2007-06-05 11:42:53,786 DEBUG [org.jbpm.context.exe.VariableContainer] create variable
'LinkB' in 'TokenVariableMap[primary]' with value
'LinkInstance(name=LinkB, status=null)'
2007-06-05 11:42:53,790 DEBUG [org.jbpm.graph.def.GraphElement] event
'node-leave' on 'Receive(Receive)' for 'Token(/primary/Receive)'
2007-06-05 11:42:53,790 DEBUG [org.jbpm.graph.def.GraphElement] event
'transition' on 'Transition(Receive-StructuredActivity.End)' for
'Token(/primary/Receive)'
2007-06-05 11:42:53,791 DEBUG [org.jbpm.graph.def.GraphElement] event
'node-enter' on 'StructuredActivity$End(119a664)' for
'Token(/primary/Receive)'
2007-06-05 11:42:53,791 DEBUG [org.jbpm.bpel.graph.struct.Flow] flow will not reactivate
token, found concurrent token: Token(/primary/Assign)
2007-06-05 11:42:53,792 DEBUG [org.jbpm.svc.Services] executing default save operations
2007-06-05 11:42:53,792 DEBUG [org.jbpm.svc.save.HibernateSaveOperation] saving process
instance
2007-06-05 11:42:53,792 DEBUG [org.jbpm.svc.save.SaveLogsOperation] flushing logs to
logging service.
2007-06-05 11:42:53,825 DEBUG [org.jbpm.svc.save.CascadeSaveOperation] cascading save of
'org.jbpm.graph.exe.ProcessInstance@13223ad'
2007-06-05 11:42:53,826 DEBUG [org.jbpm.JbpmContext] closing JbpmContext
2007-06-05 11:42:53,826 DEBUG [org.jbpm.svc.Services] closing service
'persistence': org.jbpm.bpel.persistence.db.DbPersistenceService@d38dbc
2007-06-05 11:42:53,826 DEBUG [org.jbpm.persistence.db.DbPersistenceService] committing
hibernate transaction
2007-06-05 11:42:53,835 DEBUG [org.jbpm.persistence.db.DbPersistenceService] closing
hibernate session
2007-06-05 11:42:53,836 DEBUG [org.jbpm.svc.Services] closing service 'tx':
org.jbpm.tx.TxService@5655d3
2007-06-05 11:42:53,836 DEBUG [org.jbpm.svc.Services] closing service 'logging':
org.jbpm.logging.db.DbLoggingService@1cab83
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: