context.xml文件配置
<?xml version='1.0' encoding='utf-8'?>
<Context>
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<Resource name="jdbc/ywjg"
auth="Container"
type="javax.sql.DataSource"
driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@192.168.0.218:1521/gsgaw"
username="tra_ywjg"
password="qwerasdf"
maxActive="20"
maxIdle="10"
maxWait="10000"/>
</Context>