0 Replies Latest reply on Aug 12, 2010 2:27 AM by Sachidananda Dash

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

    Sachidananda Dash Newbie

      Hi Friends,

       

      I facing a problem while getting connection with maximum no of threads..

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

      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)

       

       

      please suggest me how can i handle this. can there be any configuration changes in JBOSS to tune it.