Coherence Throws Error: Cannot Use an EntityTransaction While Using JTA

(Doc ID 2253475.1)

Last updated on APRIL 10, 2017

Applies to:

Oracle Coherence - Version to [Release 12c]
Information in this document applies to any platform.


On : version, Oracle Coherence

Coherence is setup as L2 cache and is unable to update the database. Below errors are thrown repeatedly in the logs


(thread=WriteBehindThread:CacheStoreWrapper(com.tangosol.coherence.jpa.JpaCacheStore):rm:JpaDistributedCache:Hotlist, member=1): Failed to store key="120103">
(thread=WriteBehindThread:CacheStoreWrapper(com.tangosol.coherence.jpa.JpaCacheStore):rm:JpaDistributedCache:Hotlist, member=1): java.lang.IllegalStateException:
Exception Description: Cannot use an EntityTransaction while using JTA.
  at org.eclipse.persistence.internal.jpa.transaction.JTATransactionWrapper.getTransaction(
  at org.eclipse.persistence.internal.jpa.EntityManagerImpl.getTransaction(
  at com.tangosol.util.Daemon$



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms