请教数据库连接池的配置问题No rules found matching 'Server/Service/Engine/Host/Resource'
<Context path = "/MyWeb" docBase = "F:\Users\dell\workspace\MyWeb\WebContent">
<Resource name="jdbc/MyWeb"
auth="Container"
type="javax.sql.DataSource"
maxActive="100"
maxIdle="30"
maxWait="10000"
username="1111111"
password="1111111"
driverClassName="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@localhost:1521:xe">
</Resource>
</Context>
</Host>
启动tomcat时报如下错误:
十月 16, 2013 10:39:33 下午 org.apache.tomcat.util.digester.Digester endElement
WARNING: No rules found matching 'Server/Service/Engine/Host/Resource'.
十月 16, 2013 10:39:33 下午 org.apache.catalina.core.AprLifecycleListener init
------解决方案--------------------参考一下这个吧:
java配置数据库连接池