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
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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