<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE resources PUBLIC "-//Sun Microsystems Inc.//DTD Application Server 9.0 Domain//EN" "*<install directory>/lib/dtds/sun-resources_1_3.dtd*">

<!--
    Copyright 2004-2005 Sun Microsystems, Inc.  All rights reserved.
    Use is subject to license terms.
-->

<!--
    i-net Oracle driver for Oracle Databases
    The JAR file for the i-net Oracle driver is Oranxo.jar.

    To learn more on JDBC resources, pl. refer to JDBC resources chapter of admin guide.
    Administration Guide >> JDBC Resources  >> Configurations for Specific JDBC Drivers
    http://docs.sun.com/app/docs/doc/819-3658/6n5s5nklk?a=view

    For detailed explanation of attributes and elements of this resources xml 
    pl. refer to sun-resources_1_3.dtd

    ====================================================================
    |  res-type                             datasource-classname       |
    ====================================================================
    |  javax.sql.DataSource  		    com.inet.ora.OraDataSource |
    |  javax.sql.ConnectionPoolDataSource   com.inet.ora.PDataSource   |
    |  javax.sql.XADataSource 		    com.inet.ora.XDataSource   |
    ====================================================================

    URL Format : jdbc:inetora:SERVER_NAME:PORT_NUMBER:DATABASE_NAME
-->

<resources>
    <jdbc-connection-pool 
        name="oracle_inet_pool" 
        datasource-classname="com.inet.ora.OraDataSource"
        res-type="javax.sql.DataSource">
        <property name="user" value="DB_USER"/>
        <property name="password" value="DB_PASSWORD"/>
        <property name="serviceName" value="DATABASE_NAME"/>
        <property name="serverName" value="DB_HOSTNAME"/>
        <property name="port" value="1521"/>
    </jdbc-connection-pool>

    <jdbc-resource 
        enabled="true" 
        jndi-name="jdbc/oracle_inet_resource" 
        object-type="user" 
        pool-name="oracle_inet_pool"/>
</resources> 
