--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/ed25462a-fbb7-468c-a11b-36b7bca394dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You should read up on hibernate and updating the db from different threads.-chhil
On Oct 18, 2017 1:12 PM, <netma...@gmail.com> wrote:
Hi,--
We have couple of participants in transaction manager, each participants do DB.open, some db operation and DB.close. We have configured 2 transaction manager, one for request processing and one for response processing. We have also provided hibernate.c3p0.min_size=5, hibernate.c3p0.max_size=10,<property name="sessions" value="10"/>, <property name="max-sessions" value="10" /> .
We received the "database java.lang.IllegalStateException: Session/EntityManager is closed in one transaction manager & java.lang.IllegalStateException: Transaction already active in another transaction manager".
Though we have configured multiple sessions in transaction manager and provided connection pool.
Please guide.
Thanks,
Net
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
No, that’s not how it works. If you’re using the dbsupport module, which in turns uses Hibernate, and C3P0 under the hood, the org.jpos.ee.DB class takes care of getting a connection from the pool, when required.
--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/f39d409b-3b27-4547-92c6-7af2cb6d6f1c%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.