xa-datasource
<xa-datasource>
<jndi-name>JimushienDS</jndi-name>
<track-connection-by-tx/>
<isSameRM-override-value>false</isSameRM-override-value>
<xa-datasource-class>org.jdbcdslog.ConnectionPoolXADataSourceProxy</xa-datasource-class>
<xa-datasource-property name="URL">jdbc:oracle:thin:@127.0.0.1:1521:BKO01?targetDS=oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-property>
<xa-datasource-property name="User">USERNAME</xa-datasource-property>
<xa-datasource-property name="Password">PASSWORD</xa-datasource-property>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
<no-tx-separate-pools/>
<metadata>
<type-mapping>Oracle9i</type-mapping>
</metadata>
</xa-datasource>
local-tx-datasource
<local-tx-datasource>
<jndi-name>JimushienDS</jndi-name>
<connection-url>jdbc:jdbcdslog:oracle:thin:@127.0.0.1:1521:BKO01?targetDriver=oracle.jdbc.OracleDriver</connection-url>
<driver-class>org.jdbcdslog.DriverLoggingProxy</driver-class>
<user-name>USERNAME</user-name>
<password>PASSWORD</password>
<exception-sorter-class-name>
org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
</exception-sorter-class-name>
</local-tx-datasource>