TOMCAT报错报这个。
警告: A docBase F:\JSP\tomcat\webapps\jdbcbook inside the host appBase has been specified, and will be ignored,发生什么情况会包这个错?
已经将JDBC三个包放到COMMON/LIB下,还需要放其他包吗?
LOCALHOST下jdbcbook.xml
<?xml version= '1.0 ' encoding= 'utf-8 '?>
<Context displayName= "jdbcbook " docBase= "jdbcbook " path= "/jdbcbook " workDir= "work\Catalina\localhost\jdbcbook ">
<Resource name= "jdbc/jdbcbook/msgboard " auth= "Container " type= "javax.sql.DataSource " />
<ResourceParams name= "jdbc/jdbcbook/msgboard ">
<parameter>
<name> factory </name>
<value> org.apache.commons.dbcp.BasicDataSourceFactory </value>
</parameter>
<parameter>
<name> driverClassName </name>
<value> oracle.jdbc.driver.OracleDriver </value>
</parameter>
<parameter>
<name> url </name>
<value> jdbc:oracle:oci8:@test </value>
</parameter>
<parameter>
<name> username </name>
<value> msgboard </value>
</parameter>
<parameter>
<name> password </name>
<value> msgboard </value>
</parameter>
<parameter>
<name> maxWait </name>
<value> 5000 </value>
</parameter>
<parameter>
<name> maxActive </name>
<value> 4 </value>
</parameter>
<parameter>
<name> maxIdle </name>
<value> 2 </value>
</parameter>
<parameter>
<name> validationQuery </name>