tomcat连接池配置

修改context.xml文件
<Context reloadable="true">
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<Resource name="jdbc/oracleds" auth="Container">
type="javax.sql.DataSource"
maxActive="100" maxldle="30" maxWait="10000"
username="scott" password="tiger"
    driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@localhost:1521:TPX"/>
</Context>

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