Application Server Solutions for Microsoft IIS and ASP.NET
       solutions   products   partners   company   support   downloads         store
BlueDragon Self-Help: FAQ
Back to Search >  Back to Search Results

Faq ID 264
Product JTurbo
Category DataSource, Distributed Transactions, Transactions
Question Can the JTurbo distributed transaction datasource (com.newatlanta.jturbo.driver.JTXADataSource) be used with JBoss?
Answer Yes it can but since the JTurbo distributed transaction datasource doesn't support multiple transactions on a single connection, JBoss must be configured to only use one transaction per connection. This is done by adding the <track-connection-by-tx/> tag to the <xa-datasource> tag. Here's an example:

<datasources>
  <xa-datasource>
    <jndi-name>jdbc/[datasourc name]</jndi-name>
    <track-connection-by-tx/>
<xa-datasource-class>com.newatlanta.jturbo.driver.JTXADataSource</xa-datasource-class>
    <xa-datasource-property name="ServerName">[host]</xa-datasource-property>
    <xa-datasource-property name="DatabaseName">[db name]</xa-datasource-property>
    <use-java-context>false</use-java-context>
    <user-name>[user]</user-name>
    <password>[password]</password>
  </xa-datasource>
</datasources>



   
company media information terms of use privacy policy contact us