[jboss-user] [JCA/JBoss] - Re: Configuring a DB2 XA connection

k_r_ashwin do-not-reply at jboss.com
Thu Feb 1 07:34:56 EST 2007


This is sample datasource configuration which is working for me

  <xa-datasource>
<track-connection-by-tx/>

      <jndi-name>WmxJmsDataSource</jndi-name>
    <xa-datasource-property name="PortNumber">15020</xa-datasource-property>
    <xa-datasource-property name="DatabaseName">TEST</xa-datasource-property>
    <xa-datasource-property name="ServerName">192.168.1.134</xa-datasource-property>

     <xa-datasource-class>com.ibm.db2.jcc.DB2XADataSource</xa-datasource-class>
     <xa-datasource-property name="User">ashwin</xa-datasource-property>
     <xa-datasource-property name="Password">ashwin</xa-datasource-property>
     <xa-datasource-property name="DriverType">4</xa-datasource-property>

      
         <type-mapping>DB2</type-mapping>
      
  </xa-datasource>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009372#4009372

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009372



More information about the jboss-user mailing list