3 Replies Latest reply on Jul 3, 2012 1:03 PM by Jesper Pedersen

    Destroying connection that could not be successfully matched - Jboss 7

    Anderson Vasconcelos Newbie

      Hi

       

      In my application i get the connection of datasource like this:

       

      dataSource = (DataSource) lookup(name, this.localContext);

       

      conn = ds.getConnection(databaseUser, databasePassword);

       

      But sometimes i receive this warning message: 


      11:19:19,577 WARN [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (http--127.0.0.1-8080-2) IJ000612: Destroying connection that could not be successfully matched: org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@1583f79[state=NORMAL managed connection=org.jboss.jca.adapters.jdbc.xa.XAManagedConnection@1f83728 connection handles=0 lastUse=1341325073977 trackByTx=false pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@ed3bb2 pool internal context=SemaphoreArrayListManagedConnectionPool@66ee25[pool=TESTE_CONNECTION_23@DOMAIN_999] xaResource=XAResourceWrapperImpl@a7e7be[xaResource=org.jboss.jca.adapters.jdbc.xa.XAManagedConnection@1f83728 pad=false overrideRmValue=false productName=Oracle productVersion=Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production

      With the Partitioning, Real Application Clusters, OLAP, Data Mining

      and Real Application Testing options jndiName=java:/TESTE_CONNECTION_23@DOMAIN_999] txSync=null]

       

      How to solve this in Jboss 7? I found some solutions , like  <application-managed-security></application-managed-security>, but this don't work in Jboss 7.

       

      Thanks