Tomcat6中JDBC数据源(Oracle)的配置

<Host>

.............

...

<Context path="/maintenance" reloadable="true" docBase="D:\WORK\DEV\PROJECTS\2118\maintenance" workDir="D:\WORK\DEV\PROJECTS\2118\work">
<Resource name="jdbc/maintenance" auth="Container"
type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@192.168.29.23:1521:orcl"
username="maintenance" password="maintenance" maxActive="20" maxIdle="10"
maxWait="-1"/>
</Context>

</Host>

你可能感兴趣的:(oracle,sql,jdbc)