[jboss-user] [jBPM] - Re: jboss as 5 jbpm 5.1 persistence
Marie MM
do-not-reply at jboss.com
Fri May 6 07:57:55 EDT 2011
Marie MM [http://community.jboss.org/people/mariemm] created the discussion
"Re: jboss as 5 jbpm 5.1 persistence"
To view the discussion, visit: http://community.jboss.org/message/603899#603899
--------------------------------------------------------------
Thank you for you comments, I was also hoping that Mauricio starts again responding to this discussions.
I managed to find out where and when exactly it goes down with +JDBC commit failed java.sql.SQLException: You cannot commit during a managed transaction!+
When the *org.drools.persistence.jpa.processinstance.JPAWorkItemManager* is called and then it calls some function in *org.jbpm.task.service.TaskServiceSession* which has *doOperationInTransaction* (with commit()).
In JPAWorkItemManager it calls
PersistenceContext context = ((PersistenceContextManager) env.get( EnvironmentName.PERSISTENCE_CONTEXT_MANAGER )).getCommandScopedPersistenceContext();
which propably doesn't like when there is later tx.commit(); (tx is RESOURCE_LOCAL transition)
Any further insight?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/603899#603899]
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/20110506/40e6e45d/attachment.html
More information about the jboss-user
mailing list