[jboss-user] [jBPM] - Re: jBPM 4.2 to 4.4 - Upgrade Issue
Michael Wohlfart
do-not-reply at jboss.com
Wed Dec 22 14:44:44 EST 2010
Michael Wohlfart [http://community.jboss.org/people/mwohlf] created the discussion
"Re: jBPM 4.2 to 4.4 - Upgrade Issue"
To view the discussion, visit: http://community.jboss.org/message/577262#577262
--------------------------------------------------------------
the DBID_ should be unique so the constraint violation is indeed a problem, the engine should generate the DBID_ the config part in
jbpm4.cfg.xml looks like this:
[...]
<object class="org.jbpm.pvm.internal.id.DatabaseDbidGenerator">
<field name="targetExceptionClass"><class class-name="org.hibernate.StaleStateException" /></field>
<field name="commandService"><ref object="newTxRequiredCommandService" /></field>
</object>
<object class="org.jbpm.pvm.internal.id.DatabaseIdComposer" init="eager" />
[...]
and I think you are right the problem could be the DbidGenerator generating the same Dbid twice,
as far as i remember i have seen in the source somewhere that it is supposed to find the highest Dbid at bootup time, but not sure about that....
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/577262#577262]
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/20101222/350459c3/attachment.html
More information about the jboss-user
mailing list