<?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>

관련 링크

로그인하면 댓글을 남길 수 있습니다.
  • tomcat_에서_oracle_rac_jndi_설정하기.txt
  • 마지막으로 수정됨: 2015/06/19 00:49
  • (바깥 편집)