[jboss-user] [jBPM] - jBPM 4.3 starting a sub-process after a state node will fail
Tun Mang
do-not-reply at jboss.com
Thu Apr 1 18:17:09 EDT 2010
Tun Mang [http://community.jboss.org/people/tunmang] replied to the discussion
"jBPM 4.3 starting a sub-process after a state node will fail"
To view the discussion, visit: http://community.jboss.org/message/535294#535294
--------------------------------------------------------------
Hi Maciej:
Thanks a lot for your prompt assistance.
Attached is our standalone utility application's source code (we're not running from bpm console). Our test results are
(1) If run the utility with the following steps, it is OK (the sub-process started OK):
%> ....WfeUtility -deploy SubZzA.jpdl.xml
%> ....WfeUtility -all SimSubProc
(2) But if run it with the following steps, it throws exceptions:
%> ....WfeUtility -deploy SubZzA.jpdl.xml
%> ....WfeUtility -start SimSubProc
%> ....WfeUtility -signal SimSubProc.420001
14:59:10,564 SEV | [JDBCExceptionReporter] Cannot add or update a child row:
a foreign key constraint fails (`jbpm_4_3/jbpm4_execution`,
CONSTRAINT `FK_EXEC_SUBPI` FOREIGN KEY (`SUBPROCINST_`)
REFERENCES `jbpm4_execution` (`DBID_`))
### EXCEPTION ###########################################
14:59:10,564 SEV | [AbstractFlushingEventListener]
Could not synchronize database state with session
org.hibernate.exception.ConstraintViolationException:
could not update: [org.jbpm.pvm.internal.model.ExecutionImpl#420001]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
......
Is it something related to our jBPM's configuration file(s) ? Or something else ? Please remove the package name (at the first line) in my source code when you try it.
Thanks a lot in advance.
Tun Mang
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535294#535294]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100401/51bc08c1/attachment.html
More information about the jboss-user
mailing list