Your data-sources.xml
file in the D:\ora10133oc4j\j2ee\home\config folder
should now look something like this:
<?xml version = '1.0' encoding = 'UTF-8'?>
<data-sources
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/data-sources-10_1.xsd"
schema-major-version="10"
schema-minor-version="1">
<managed-data-source
connection-pool-name="Example Connection Pool"
jndi-name="jdbc/OracleDS"
name="OracleDS"/>
<managed-data-source
connection-pool-name="MyappCP"
jndi-name="jdbc/MyappDS"
name="MyappDS"/>
<connection-pool name="Example Connection Pool">
<connection-factory
factory-class="oracle.jdbc.pool.OracleDataSource"
user="scott"
password="tiger"
url="jdbc:oracle:thin:@localhost:1521:orcl"
commit-record-table-name=""/>
</connection-pool>
<connection-pool name="MyappCP">
<connection-factory
factory-class="oracle.jdbc.pool.OracleDataSource"
user="myapp_pool"
password="oracle4"
url="jdbc:oracle:thin:@localhost:1521:orcl"
commit-record-table-name=""/>
</connection-pool>
</data-sources>