<?xml version='1.0' encoding='utf-8'?>

<Context docBase="/context/root/path" privileged="true" antiResourceLocking="false" antiJARLocking="false" reloadable="true">
        <Resource name="jdbc/jndiname" auth="Container"
                type="javax.sql.DataSource"
                maxActive="100"
                maxIdle="30"
                maxWait="10000"
                username="USERNAME"
                password="PASSWORD"
                driverClassName="oracle.jdbc.driver.OracleDriver"
                removeAbandoned="true"
                removeAbandonedTimeout="60"
                logAbandoned="true"
                validationQuery="select 1 from dual"
                url="jdbc:oracle:thin:@(description=(address_list=(load_balance=on)(failover=on)(address=(protocol=tcp)(host=10.0.0.1)(port=1521))(address=(protocol=tcp)(host=10.0.0.2)(port=1521)))(connect_data=(service_name=SERVICE_NAME)(failover_mode=(type=select)(method=basic))))" />
</Context>

관련 링크