Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple tasklist using custom postgreSql not working #102

Open
Belajariah opened this issue Sep 15, 2022 · 4 comments
Open

Simple tasklist using custom postgreSql not working #102

Belajariah opened this issue Sep 15, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@Belajariah
Copy link

I'm trying to run a simple tasklist using custom postgreql in docker compose with the following configuration:

Screenshot from 2022-09-15 18-01-53

but i get issue when i add user task to process. It looks like an error like this:

Screenshot from 2022-09-15 18-08-09

I've checked the db, the data has been inputted and nothing strange. I think there is a problem with the version db but for versions postgres:13.3-alpine and postgres:12.2 I get the same issue.

Everyone is there any suggestions for this case. Thankyou.

@saig0
Copy link
Contributor

saig0 commented Nov 2, 2022

@Belajariah thank you for reporting. 👍 I can confirm the issue. ✔️

The issue sounds familiar. It is probably the same as camunda-community-hub/zeebe-simple-monitor#79. We may be able to apply the same fix as in camunda-community-hub/zeebe-simple-monitor#159: add @Transactional in the view controller.

@saig0 saig0 added the bug Something isn't working label Nov 2, 2022
@mariansoban
Copy link

I'm getting the same issue as soon as there is at least one User Task created - then the simple tasklist fails (e.g. http://localhost:8081/views/all-tasks/) with error:
Caused by: org.postgresql.util.PSQLException: Large Objects may not be used in auto-commit mode.
full exception
Is there any plan to fix this issue?

@saig0
Copy link
Contributor

saig0 commented May 24, 2023

Is there any plan to fix this issue?

It should be easy to fix. But it's currently not my priority.

Happy to receive a contribution. 😉

@shaiksuhel1999
Copy link

shaiksuhel1999 commented Aug 7, 2024

Hi @saig0 ,

Caused by: org.postgresql.util.PSQLException: Large Objects may not be used in auto-commit mode.
at org.postgresql.largeobject.LargeObjectManager.createLO(LargeObjectManager.java:285) [postgresql-42.7.3.jar:42.7.3]

I'm also facing the same Issue when dealing with large objects, let me explain the scenario...

I'm working with jbpm-5.5 and jbpm has it's own tables which uses those tables to store some sort of information about workflow.. when jbpm trying to insert the records into postgresql data base, It's giving me an same error..

I don't have control over those jbpm tables, it's handle on it's own

tried below solution which I got from stackoverflow but no luck

Solution:
I was able to find out a solution for this. I have changed the DB column to Bytea type in PostgreSQL and change the JBPM 4.4 implementation to use byte[] over java.sql.Blob (in org.jbpm.pvm.internal.lob.Lob class).

Version details

postgresql db version -16
postgresql driver version - 42.7.3

Any Suggestions how can I fix this , Thank you!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants