javax.resource.spi.ResourceAllocationException: > Error > in allocating a connection. Cause: java.lang.IllegalStateException: Local > transaction already has 1 non-XA Resource: cannot add more resources. at > com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:307) > > at > com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:190) > > at > com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165) > > at > com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:160) > >

Oracle Community | groverblue | 5 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

    [SOLVED] Deploying EAR fails on Singleton initialization with "create-tables" configuration

    Oracle Community | 5 years ago | groverblue
    javax.resource.spi.ResourceAllocationException: > Error > in allocating a connection. Cause: java.lang.IllegalStateException: Local > transaction already has 1 non-XA Resource: cannot add more resources. at > com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:307) > > at > com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:190) > > at > com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165) > > at > com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:160) > >

    Root Cause Analysis

    1. javax.resource.spi.ResourceAllocationException

      > Error > in allocating a connection. Cause: java.lang.IllegalStateException: Local > transaction already has 1 non-XA Resource: cannot add more resources. at > com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:307) > > at > com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:190) > > at > com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165) > > at > com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:160) > >

      at com.sun.gjc.spi.base.DataSource.getConnection()
    2. Embedded GlassFish Web
      DataSource.getConnection
      1. com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:113)
      1 frame