3 Replies Latest reply on May 12, 2011 9:14 AM by Tiago Emerick

    Caused by: javax.resource.ResourceException: Unable to get managed connection

    Sachidananda Dash Newbie

      Hi friends,

       

      Caused by: javax.resource.ResourceException: Unable to get managed connection for softwareDepotDB
          at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:441)
          at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381)
          at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
          at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
          at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
          at com.apple.ist.hilo.communication.ConnectionManager.getCommonConnection(ConnectionManager.java:213)
          ... 16 more
      Caused by: javax.resource.ResourceException: Interrupted while requesting permit! Waited 0 ms
          at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:314)
          at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:622)
          at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404)
          ... 21 more

       

       

      The scenario there is when I am trying to execute transaction for max no of threads. The threads are unable to get the connection and it gives a error.

       

      please help me out.