SHARE
TWEET

XA-DS-JBoss71-Oracle-SimpleExample

javapapo Jun 3rd, 2012 1,414 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  <subsystem xmlns="urn:jboss:domain:datasources:1.0">
  2.             <datasources>
  3.                 <xa-datasource jndi-name="java:/myDS" pool-name="myDS" enabled="true" use-ccm="false">
  4.                     <xa-datasource-property name="URL">
  5.                         jdbc:oracle:thin:@192.168.1.1:1521:orcl
  6.                     </xa-datasource-property>
  7.                     <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
  8.                     <driver>ojdbc6.jar</driver>
  9.                     <xa-pool>
  10.                         <is-same-rm-override>false</is-same-rm-override>
  11.                         <interleaving>false</interleaving>
  12.                         <pad-xid>false</pad-xid>
  13.                         <wrap-xa-resource>false</wrap-xa-resource>
  14.                     </xa-pool>
  15.                     <security>
  16.                         <user-name>myusername</user-name>
  17.                         <password>myusername</password>
  18.                     </security>
  19.                     <validation>
  20.                         <validate-on-match>false</validate-on-match>
  21.                         <background-validation>false</background-validation>
  22.                     </validation>
  23.                     <statement>
  24.                         <share-prepared-statements>false</share-prepared-statements>
  25.                     </statement>
  26.                 </xa-datasource>
  27.                 <drivers>
  28.                     <driver name="ojdb6.jar" module="undefined">
  29.                         <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
  30.                     </driver>
  31.                 </drivers>
  32.             </datasources>
  33.         </subsystem>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top