Bug 852044
Summary: | Cannot view human task list on EAP 6.0 with Hibernate 4 and PostgreSQL due to: org.postgresql.util.PSQLException: Large Objects may not be used in auto-commit mode. | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Jiri Svitak <jsvitak> | ||||||||||||||
Component: | jBPM 5 | Assignee: | Kris Verlaenen <kverlaen> | ||||||||||||||
Status: | VERIFIED --- | QA Contact: | Marek Baluch <mbaluch> | ||||||||||||||
Severity: | high | Docs Contact: | |||||||||||||||
Priority: | unspecified | ||||||||||||||||
Version: | BRMS 5.3.0.GA | CC: | eric.wittmann, mbaluch | ||||||||||||||
Target Milestone: | ER2 | ||||||||||||||||
Target Release: | BRMS 5.3.1 GA | ||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||
OS: | Unspecified | ||||||||||||||||
Whiteboard: | |||||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||
Clone Of: | Environment: | ||||||||||||||||
Last Closed: | Type: | Bug | |||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||
Embargoed: | |||||||||||||||||
Bug Depends On: | |||||||||||||||||
Bug Blocks: | 1211248 | ||||||||||||||||
Attachments: |
|
Description
Jiri Svitak
2012-08-27 12:28:08 UTC
Created attachment 607194 [details]
business-central-server persistence.xml
Created attachment 607195 [details]
jbpm-human-task persistence.xml
Created attachment 607197 [details]
test case
Created attachment 607237 [details]
standalone.xml
Jiri, Could you test this with the new EE6 wars? The jbpm-human-task-war module now makes a new jbpm-human-task-war-<version>-EE6.war that works with EAP 6. I tested this problem with EAP 6 (and postgresql 8.4.12) and didn't run into the problem you mention. I did run into other problems, unfortunately (1. adding the task w/o the user in the db throws an exception). I haven't completed the task yet either (and let the process complete), I'll test that tomorrow. (I can't remember if [1] is intended, but the error thrown is very ugly. At the very least I'll clean that up.) And.. I don't know what I was doing yesterday, but today, I _am_ getting the error you described. My apologies! :( Created attachment 615296 [details]
Another test case
What's interesting, is that this error has to do specifically with how hibernate 4 handles transactions -- because this error doesn't happen on AS5/hib3, obviously.
* Unfortunately, wrapping the session.write() in a transaction introduces other errors into the human-task service.
I was hoping to get around the problem by using a different jta txm implementation, but the "correct" hib4 setting (hibernate.transaction.jta.platform) doesn't help. The problem also occurs when using bitronix.
Of course, the problems that I'm seeing in the tests when the session.write() is wrapped, might just be due to a problem in the tests, not the actually code.
Still looking..
Marco Rietveld <marco.rietveld> updated the status of jira JBPM-3763 to Resolved Verified in BRMS 5.3.1 ER2. |