Which ever data source you create (for instance lets say for oracle data source or mysql data source ) file name should end with “name-ds.xml” and the content should be
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>tjOracleDS</jndi-name>
<use-java-context>false</use-java-context>
<connection-url>jdbc:oracle:thin:@localhost:1521:tjdb</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>staging</user-name>
<password>staging</password>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
<min-pool-size>5</min-pool-size>
<max-pool-size>30</max-pool-size>
<blocking-timeout-millis>5000</blocking-timeout-millis>
<metadata>
<type-mapping>Oracle9i</type-mapping>
</metadata>
</local-tx-datasource>
</datasources>
<use-java-context>false</use-java-context>
This help us to remove java:comp from jndi look up for data source
January 24th, 2012 on 6:06 PM
I liked up to you will receive performed right here. The cartoon is tasteful, your authored material stylish. nonetheless, you command get bought an edginess over that you want be delivering the following. unwell for sure come further beforehand again as precisely the similar nearly a lot incessantly inside of case you shield this hike.