<GlobalNamingResources>
ORACLE
<Resource auth="Container" driverClassName="oracle.jdbc.driver.OracleDriver" factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory" maxActive="100" maxIdle="10" maxWait="-1" name="jdbc/test" password="test" type="javax.sql.DataSource" url="jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=000.000.000.000)(PORT=1521))(LOAD_BALANCE=on))(CONNECT_DATA=(SERVICE_NAME=TEST)(SRVR = DEDICATED)))" username="test"/>
MSSQL
<Resource auth="Container" driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver" maxActive="100" maxIdle="10" maxWait="-1" name="jdbc/test" password="test" type="javax.sql.DataSource" url="jdbc:sqlserver://000.000.000.000:1433;DatabaseName=test;charset=euc-kr;TDS=7.0" username="test"/>
</GlobalNamingResources>
'IT > Server' 카테고리의 다른 글
tar 압축 및 풀기~ (0) | 2021.05.12 |
---|---|
웹로직과 톰캣의 차이에서 오는 개 삽질~ (0) | 2021.05.12 |
Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV (0) | 2021.05.12 |
windows 2008 server r2 에서 방화벽 예외 포트추가~ (0) | 2021.05.11 |
데이터소스(datasource) 연결방법(version - mysql5.0, tomcat5.5, java5) (0) | 2021.05.11 |