[jboss-user] [jBPM] - Re: Error changing value of Lob variable at jBPM 4.x

zackmc do-not-reply at jboss.com
Fri Mar 8 04:18:50 EST 2013


zackmc [https://community.jboss.org/people/zackmc] created the discussion

"Re: Error changing value of Lob variable at jBPM 4.x"

To view the discussion, visit: https://community.jboss.org/message/801509#801509

--------------------------------------------------------------
Same output appears in my project (jbpm 4.4) only when I change the configuration to use the current spring transactions:


















<
process-engine-context>



<job-executor threads=++"1"++ idle=++"15000"++ idle-max=++"60000"++ lock-millis=++"3600000"++ />
<command-service name=++"newTxRequiredCommandService"++>
<retry-interceptor />
<environment-interceptor policy=++"requires"++ />
<spring-transaction-interceptor policy=++"requires"++ />
</command-service>

<command-service name=++"txRequiredCommandService"++>
<retry-interceptor />
<environment-interceptor />
<spring-transaction-interceptor />
</command-service>



</process-engine-context>

<transaction-context> 

<transaction type=++"spring"++ />
<hibernate-session current=++"true"++ />
</transaction-context>
 
When I put 'requiresNew' in policy attribute it runs. But we need the jbpm tables do rollback when an exception arise in the step. I get the error in a signal method, when I set a LOB variable.

¿Can you provide any workaround to avoid this bug?

Thank you.



--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/801509#801509]

Start a new discussion in jBPM at Community
[https://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/20130308/2fb06273/attachment-0001.html 


More information about the jboss-user mailing list