<JDBCConnectionPool
ConnectionCreationRetryFrequencySeconds="0"
CapacityIncrement="1"
CountOfRefreshFailuresTillDisable= "1"
CountOfTestFailuresTillFlush="1"
DriverName="oracle.jdbc.xa.client.OracleXADataSource"
InitialCapacity="5"
KeepXAConnTillTxComplete="true"
MaxCapacity="100"
Name="cgPool1"
PasswordEncrypted="{3DES}lBifoTsg8fc="
Properties="user=user_name"
RefreshMinutes="1"
SupportsLocalTransaction="true"
Targets="cgServer"
TestConnectionsOnReserve="true"
TestTableName="dual"
URL="jdbc:oracle:thin:@dbhost1:1521:dbname1"
XARetryDurationSeconds="300"
XASetTransactionTimeout="true"
XATransactionTimeout="302"/>
<JDBCConnectionPool
ConnectionCreationRetryFrequencySeconds="0"
CapacityIncrement="1"
CountOfRefreshFailuresTillDisable= "1"
CountOfTestFailuresTillFlush="1"
DriverName="oracle.jdbc.xa.client.OracleXADataSource"
InitialCapacity="5"
KeepXAConnTillTxComplete="true"
MaxCapacity="100"
Name="cgPool2"
PasswordEncrypted="{3DES}lBifoTsg8fc="
Properties="user=user_name"
RefreshMinutes="1"
SupportsLocalTransaction="true"
Targets="cgServer"
TestConnectionsOnReserve="true"
TestTableName="dual"
URL="jdbc:oracle:thin:@dbhost2:1521:dbname2"
XARetryDurationSeconds="300"
XASetTransactionTimeout="true"
XATransactionTimeout="302"/>
<JDBCMultiPool
Name="cgMultiPool"
PoolList="cgPool1,cgPool2"
FailoverRequestIfBusy="true"
HealthCheckFrequencySeconds="300"
Targets="cgServer"
AlgorithmType="High-Availability"/>
<JDBCTxDataSource
JNDIName="cgDataSource"
Name="cgDataSource"
EnableTwoPhaseCommit="true"
PoolName="cgMultiPool"
Targets="cgServer"/>
'자바(JAVA)' 카테고리의 다른 글
MessageSource 자동로딩과 방법 (0) | 2008.12.14 |
---|---|
Eclipse Struts 플러그인 설치와 사용 (0) | 2008.12.13 |
spring 에서 Hibernate 트랜잭션 설정과 sessionFactory 설정법 (2) | 2008.12.08 |
MySQL 과 Oracle DBCP config.xml 기본연결설정정보 (0) | 2008.12.07 |
Oracle RAC(Real Application Cluster) 구성 및 테스트 (0) | 2008.12.07 |
간단하게 spring batch 를 만들어 스케줄 프로그램하기 (0) | 2008.11.30 |
log4j 서버 재 기동없이 load 되어 적용될수 있게 하자 (1) | 2008.11.30 |
velocity 에서 숫자로 for 문을 돌리고자 할때 (0) | 2008.11.30 |