java.lang.IllegalStateException: > Exception Description: Cannot use an EntityTransaction while using JTA. > at > oracle.toplink.essentials.internal.ejb.cmp3.transaction.JTATransactionWrapper.getTransaction(JTATransactionWrapper.java:66) > at > oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerImpl.getTransaction(EntityManagerImpl.java:340) >

Oracle Community | 392 Guest | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    From NetBeans bundle version to server

    Oracle Community | 8 years ago | 392 Guest
    java.lang.IllegalStateException: > Exception Description: Cannot use an EntityTransaction while using JTA. > at > oracle.toplink.essentials.internal.ejb.cmp3.transaction.JTATransactionWrapper.getTransaction(JTATransactionWrapper.java:66) > at > oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerImpl.getTransaction(EntityManagerImpl.java:340) >

    Root Cause Analysis

    1. java.lang.IllegalStateException

      > Exception Description: Cannot use an EntityTransaction while using JTA. > at > oracle.toplink.essentials.internal.ejb.cmp3.transaction.JTATransactionWrapper.getTransaction(JTATransactionWrapper.java:66) > at > oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerImpl.getTransaction(EntityManagerImpl.java:340) >

      at myrentstore.ConfirmYourData.buttonOk_action()
    2. myrentstore
      ConfirmYourData.buttonOk_action
      1. myrentstore.ConfirmYourData.buttonOk_action(ConfirmYourData.java:233)
      1 frame
    3. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame