java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction. >

Oracle Community | viniciusjssouza | 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

    Help!!! Problems with client demarcation transactions

    Oracle Community | 8 years ago | viniciusjssouza
    java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction. >
  2. 0

    Use of Two resource adapters in single Transaction (EJB and other Java EE Technologies forum at JavaRanch)

    coderanch.com | 2 years ago
    java.lang.IllegalStateException: Local transaction already has 1 non-XA Resource: cannot add more resources.
  3. 0

    Local transaction already has 1 non-XA Resource | Oracle Community

    oracle.com | 12 months ago
    java.lang.IllegalStateException: Local transaction already has 1 non-XA Resource: cannot add more resources. 
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Setting XA DataSource on Sun Java Appliation Server 8.1 enterpri

    theserverside.com | 2 years ago
    java.lang.IllegalStateException: Local transaction already has 1 non-XA Resource: cannot add more resources.
  6. 0

    db:: 4.62::Unexpected Broker Exception: Transaction is not started: ignoring z1

    hivmr.com | 11 months ago
    java.lang.IllegalStateException: Local transaction already has 1 non-XA Resource: cannot add more resources.

    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

      cannot add non-XA Resource to global JTS transaction. >

      at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.enlistResource()
    2. com.sun.enterprise
      J2EETransactionManagerOpt.enlistResource
      1. com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.enlistResource(J2EETransactionManagerOpt.java:148)
      1 frame
    3. Connectors Runtime
      ConnectionManagerImpl.allocateConnection
      1. com.sun.enterprise.resource.SystemResourceManagerImpl.enlistResource(SystemResourceManagerImpl.java:98)
      2. com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:216)
      3. com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:327)
      4. com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:189)
      5. com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165)
      6. com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:158)
      6 frames
    4. Embedded GlassFish Web
      DataSource.getConnection
      1. com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:108)
      1 frame
    5. oracle.toplink.essentials
      EntityManagerFactoryImpl.createEntityManager
      1. oracle.toplink.essentials.jndi.JNDIConnector.connect(JNDIConnector.java:145)
      2. oracle.toplink.essentials.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:184)
      3. oracle.toplink.essentials.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:233)
      4. oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:242)
      5. oracle.toplink.essentials.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:309)
      6. oracle.toplink.essentials.threetier.ConnectionPool.buildConnection(ConnectionPool.java:117)
      7. oracle.toplink.essentials.threetier.ExternalConnectionPool.startUp(ExternalConnectionPool.java:135)
      8. oracle.toplink.essentials.threetier.ServerSession.connect(ServerSession.java:456)
      9. oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:603)
      10. oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:280)
      11. oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:229)
      12. oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:93)
      13. oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:126)
      14. oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:99)
      14 frames
    6. Common Utilities
      EntityManagerWrapper.persist
      1. com.sun.enterprise.util.EntityManagerWrapper._getDelegate(EntityManagerWrapper.java:181)
      2. com.sun.enterprise.util.EntityManagerWrapper.persist(EntityManagerWrapper.java:238)
      2 frames
    7. com.business.DAO
      GenericDAOImpl.save
      1. com.business.DAO.GenericDAOImpl.save(GenericDAOImpl.java:63)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    9. com.sun.enterprise
      EJBSecurityManager.runMethod
      1. com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067)
      1 frame
    10. Security Core Classes
      SecurityUtil.invoke
      1. com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
      1 frame
    11. Embedded GlassFish Web
      EJBObjectInvocationHandlerDelegate.invoke
      1. com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2895)
      2. com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3986)
      3. com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:203)
      4. com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:77)
      4 frames
    12. Unknown
      $Proxy55.save
      1. $Proxy55.save(Unknown Source)
      1 frame
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    14. glassfish-corba-orb
      CorbaMessageMediatorImpl.doWork
      1. com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:154)
      2. com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:687)
      3. com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:227)
      4. com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846)
      5. com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706)
      6. com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088)
      7. com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223)
      8. com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806)
      9. com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563)
      10. com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567)
      10 frames
    15. glassfish-corba-orbgeneric
      ThreadPoolImpl$WorkerThread.run
      1. com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
      1 frame