Remove these 2 sections about "org.kie.tx.lock.enabled" because this property is no longer useful and is just risky (See https://access.redhat.com/solutions/1610723).
org.kie.tx.lock.enabled When enabled, Red Hat JBoss BPM Suite uses an interceptor that locks the KieSession to a single thread for the duration of a transaction, which prevents concurrency errors in Container Managed Transaction (CMT) environments. Values Default true or false false
WARNING In cases when the Red Hat JBoss BPM Suite engine is managed within a Container-Managed Transaction (CMT) environment and the transactions are out of control of the engine, concurrent access to the same session instance may lead to errors. To handle this situation, an interceptor that locks KieSession for a single thread until the transaction completes is provided. This enables you to safely use knowledge sessions in a CMT environment. To enable this interceptor, set both the org.kie.tx.lock.enabled system property and the TRANSACTION_LOCK_ENABLED environment entry to true. The default value of these properties is false.
1.
|
SME review for BXMSDOC-2611 | Closed | Marian Macik | ||
2.
|
Peer review for BXMSDOC-2611 | Closed | Emily Murphy |