<?xml version='1.0' encoding='utf-8'?> <Context displayName="zcgl" docBase="C:\tjzc\tongji" path="/zcgl" reloadable="true" privileged="true"> <Resource auth="Container" description="Oracle Datasource example" name="jdbc/zcdata" type="javax.sql.DataSource"/> <Resource name="jdbc/zcdata" type="javax.sql.DataSource"/> <ResourceParams name="jdbc/zcdata"> <parameter> <name>maxWait</name> <value>5000</value> </parameter> <parameter> <name>maxActive</name> <value>200</value> </parameter> <parameter> <name>url</name> <value>jdbc:oracle:thin:@192.168.250.63:1521:orcl</value> </parameter> <parameter> <name>driverClassName</name> <value>oracle.jdbc.driver.OracleDriver</value> </parameter> <parameter> <name>maxIdle</name> <value>10</value> </parameter> <parameter> <name>username</name> <value>zcgl</value> </parameter> <parameter> <name>password</name> <value>zcgl</value> </parameter> </ResourceParams> </Context>