Guest User

solar_sea

a guest
Mar 26th, 2008
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.14 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. *
  4. * Microsoft SQL Server XA DataSource for BIS/AS with jTDS driver.
  5. *
  6. * $Id: JTDS_SeeAS-xa-ds.xml.template,v 1.6 2007/06/13 11:34:00 pollaehn Exp $
  7. *
  8. * Based on
  9. * software/resources/jboss-mssql/template/JTDS_SeeAS-xa-ds-xml.template
  10. *
  11. * Copyright (c) 2005 SEEBURGER AG, Germany. All rights reserved.
  12. -->
  13.  
  14. <!-- This file is automatically generated by register-jboss-mssql.xml -->
  15.  
  16. <datasources>
  17.   <xa-datasource>
  18.     <!-- The jndi name of the DataSource, it is prefixed with java:/
  19.         Datasources are not available outside the virtual machine -->
  20.     <!-- TODO: JNDI Name -Ec -->
  21.     <jndi-name>WORKFLOWDB</jndi-name>
  22.     <track-connection-by-tx>true</track-connection-by-tx>
  23.     <isSameRM-override-value>false</isSameRM-override-value>
  24.     <xa-datasource-class>net.sourceforge.jtds.jdbcx.JtdsDataSource</xa-datasource-class>
  25.     <xa-datasource-property name="ServerName">localhost</xa-datasource-property>
  26.     <xa-datasource-property name="PortNumber">1433</xa-datasource-property>
  27.     <xa-datasource-property name="DatabaseName">b632tl_uc</xa-datasource-property>
  28.     <xa-datasource-property name="Tds">8.0</xa-datasource-property>
  29.     <security-domain>WORKFLOWDBlogin</security-domain>
  30.     <!--transaction isolation-->
  31.     <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
  32.     <!--pooling parameters-->
  33.     <min-pool-size>5</min-pool-size>
  34.     <max-pool-size>100</max-pool-size>
  35.     <blocking-timeout-millis>60000</blocking-timeout-millis>
  36.     <idle-timeout-minutes>15</idle-timeout-minutes>
  37.  
  38.     <!-- Track statements. Use nowarn for producion and true for testing -->
  39.     <track-statements>true</track-statements>
  40.     -->
  41.     <!-- HA
  42.    <valid-connection-sql>SELECT 1</valid-connection-sql>
  43.    -->
  44.     <!-- <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.*</valid-connection-checker-class-name> -->
  45.  
  46.     <!-- You are recommended to use prepareSql=2 with true distributed transactions.
  47.         If a temp stored procedure is created and then the container rolls back the
  48.         transaction, the driver's procedure cache will be out of line with the server. -->
  49.     <xa-datasource-property name="PrepareSql">2</xa-datasource-property>
  50.     <!-- Set this property to true to cause the driver to emulate distributed transactions.
  51.         False option only works for SQL Server 2000 with MSDTC and JtdsXA.DLL installed. -->
  52.     <xa-datasource-property name="XaEmulation">true</xa-datasource-property>
  53.     <!-- set this property to true if and only if the database uses unicode column types
  54.         like nvarchar. Otherwise set it to false -->
  55.     <xa-datasource-property name="SendStringParametersAsUnicode">false</xa-datasource-property>
  56.     <!-- Use this property to enable logging but NB: jTDS produces lots of output!
  57.    <xa-datasource-property name="LogFile">${bisas.log}/jboss-SEEASDB0.txt</xa-datasource-property>
  58.    -->
  59.       <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
  60.       <metadata>
  61.          <type-mapping>MS SQLSERVER2000</type-mapping>
  62.       </metadata>
  63.   </xa-datasource>
  64.  
  65. </datasources>
Advertisement
Add Comment
Please, Sign In to add comment