본문 바로가기

자바

이클립스에서 오라클11g jdbc DBCP 연결설정.

반응형

 context.xml


<Context>

<Resource name = "jdbc/jsptest"

auth = "Container"

type = "javax.sql.DataSource"

username = "java"

password = "java"

driverClassName = "oracle.jdbc.driver.OracleDriver"

factory = "org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory"

url = "jdbc:oracle:thin:@localhost:1521:xe"

maxActive="500"

/>

</Context>

반응형