This content has been marked as final.
Show 2 replies
-
2. Re: [JBossManagedConnectionPool] Destroying connection that
jbohn Oct 17, 2005 5:34 PM (in response to jbohn)Thanks a lot!
Hello,
I'am using XA Transaction with Oracle 9i via a 10g jdbc driver with JBoss 4.0.3 and Hibernate 3.0.5. Sometimes I get the following message:
[JBossManagedConnectionPool] Destroying connection that could not be successfully matched: org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@6c8b7b[state=NORMAL mc=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@393d95 handles=0 lastUse=1129466917406 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@108edd0 context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@7262b6 xaResource=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@393d95 txSync=null]
Unfortunally I have nothing found about this warning in the forum. What can I do to stop this message?
Thanks for help!
I set the pad = true in the jboss-service.xml
My oracle-xa-ds.xml
<xa-datasource>
<jndi-name>XA_ORACLE_DS</jndi-name>
<track-connection-by-tx>true</track-connection-by-tx>
<isSameRM-override-value>false</isSameRM-override-value> <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
<xa-datasource-property name="URL"> jdbc:oracle:thin:@myHost:1521:oracle
</xa-datasource-property>
<xa-datasource-property name="User">scott</xa-datasource-property>
<xa-datasource-property name="Password">tiger</xa-datasource-property>
<exception-sorter-class-name>
org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
</exception-sorter-class-name>
<no-tx-separate-pools/>
<type-mapping>Oracle9i</type-mapping>
</xa-datasource>
Thanks a lot!