1 Reply Latest reply on Sep 22, 2005 5:59 AM by phonetech

    Connection error occured with TxConnectionManager

    joster

      Hi,


      Our application has two XA datasources. In your log file we have the following odd messages:

      WARN [org.jboss.resource.connectionmanager.TxConnectionManager] Connection error occured: org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@1e5e2ec[state=DESTROYED mc=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@1e41952 handles=0 lastUse=1126696800573 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@c13b15 context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@6049c]


      Our Configuration is : Oracle 10g, Jboss-4.0.2. Everything seems to work fine except this warning.

      We modified the jboss-service xml file (Padding to true) and here is the xa ds:

      <xa-datasource>
      <jndi-name>XXXXXX</jndi-name>
      <track-connection-by-tx>true</track-connection-by-tx>
      <min-pool-size>0</min-pool-size>
      <max-pool-size>13</max-pool-size>
      <isSameRM-override-value>false</isSameRM-override-value>
      <idle-timeout-minutes>1</idle-timeout-minutes>
      <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
      <xa-datasource-property name="URL">jdbc:oracle:thin:@xxxxxxxxxxxxxxxxx</xa-datasource-property>
      <xa-datasource-property name="User">xxx</xa-datasource-property>
      <xa-datasource-property name="Password">xxxxx</xa-datasource-property>
      <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
      <no-tx-separate-pools/>
      </xa-datasource>


      Any ideas? Many thanks.

      And yes I tried the search tool ;-).


      Joster.