13 Replies Latest reply: Jun 4, 2012 11:01 PM by ShuiXin Zhang RSS

    Destroying connection that could not be successfully matched

    Daphna Wasserman Newbie

      We are using ConnectionManager.allocateConnection () to retrieve connections from the pool with our implementation of the ManagedConnectionFactory and ConnectionRequestInfo).

      Once our code reaches:
      InternalManagedConnectionPool.getConnection(Subject subject, ConnectionRequestInfo cri),

      there is only one object in the available connection event listeners list (InternalManagedConnectionPool.cls), and it doesn't match the cri we are looking for and therefore we get the:
      "Destroying connection that could not be successfully matched: "
      warning message:
      12:39:40,506 WARN [JBossManagedConnectionPool] Destroying connection that could not be successfully matched: org.jboss.resou
      rce.connectionmanager.NoTxConnectionManager$NoTxConnectionEventListener@92b371[state=NORMAL mc=com.cisco.nm.cmp.gjc.GWManaged
      Connection@181f366 handles=0 lastUse=1197801580272 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.JBos
      sManagedConnectionPool$OnePool@1ac0dde context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@c2813e]


      We are using Java1.5 & Jboss4.2.0GA