数据库连接池最后一步配置问题(tomcat5.5xx+eclipse3.4.1),问题说明详细,望高手指教
数据库(sql2005),tomcat5.5xx+eclipse3.4.1....
server.xml配置:
<Resource
name="jdbc/mydb"
type="javax.sql.DataSource"
maxActive="4"
maxIdle="2"
username="aaa"
maxWait="5000"
validationQuery="select 1"
driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
password="aaa"
url="jdbc:sqlserver://localhost:1433;DatabaseName=db_shopping"/>
web.xml配置:
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/mydb</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
第三步:配置路径:C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\Catalina\localhost下的对应的项目.xml文件,可是我的目录下面没有对应的项目文件。这个问题怎么解决?是我的tomcat和eclipse以前的配置有问题吗?(该目录下只有三个文件:host-manager.xml,manager.xml,admin.xml.还望高手指教)