java.lang.IllegalStateException: The method public abstract javax.persistence.EntityTransaction javax.persistence.EntityManager.getTransaction() cannot be invoked in the context of a JTA EntityManager.

Oracle Community | 594629 | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    EJB Exception | Oracle Community

    oracle.com | 12 months ago
    java.lang.IllegalStateException: The method public abstract javax.persistence.EntityTransaction javax.persistence.EntityManager.getTransaction() cannot be invoked in the context of a JTA EntityManager.
  2. 0

    EJB Exception

    Oracle Community | 5 years ago | 594629
    java.lang.IllegalStateException: The method public abstract javax.persistence.EntityTransaction javax.persistence.EntityManager.getTransaction() cannot be invoked in the context of a JTA EntityManager.
  3. 0

    <faultcode>S:Server</faultcode>

    Oracle Community | 5 years ago | 594629
    java.lang.IllegalStateException: The method public abstract javax.persistence.EntityTransaction javax.persistence.EntityManager.getTransaction() cannot be invoked in the context of a JTA EntityManager.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Ejb exception

    Oracle Community | 5 years ago | 594629
    java.lang.IllegalStateException: The method public abstract javax.persistence.EntityTransaction javax.persistence.EntityManager.getTransaction() cannot be invoked in the context of a JTA EntityManager.
  6. 0

    jpa.advanced.EntityManagerJUnitTestSuite.testForceSQLExceptionFor219097 failed on non-JTA DS against WLS

    Eclipse Bugzilla | 8 years ago | kevin.yuan
    java.lang.IllegalStateException: The method public abstract javax.persistence.EntityTransaction javax.persistence.EntityManager.getTransaction() cannot be invoked in the context of a JTA EntityManager.

  1. rp 4 times, last 12 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    The method public abstract javax.persistence.EntityTransaction javax.persistence.EntityManager.getTransaction() cannot be invoked in the context of a JTA EntityManager.

    at weblogic.deployment.BasePersistenceContextProxyImpl.validateInvocation()
  2. weblogic.deployment
    TransactionalEntityManagerProxyImpl.invoke
    1. weblogic.deployment.BasePersistenceContextProxyImpl.validateInvocation(BasePersistenceContextProxyImpl.java:110)
    2. weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:86)
    3. weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:89)
    4. weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:80)
    5. weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:24)
    5 frames
  3. Unknown
    $Proxy83.getTransaction
    1. $Proxy83.getTransaction(Unknown Source)
    1 frame