关于tomcat配置文件的问题

修改了配置文件server.xml,在host节点中添加了以下代码:
<!--设置虚拟路径-->

<!--name:a name for data-source;auth:someone who control the data-source; type:the type of database-->


<!--settings of factory-->

factory
org.apache.commons.dbcp.BasicDataSourceFactory

<!--set the drive of database,which was put on the directory 'common/lib' or
the directory lib of your website in-->

driverClassName
com.mysql.jdbc.Driver

<!--set the url-->

url
jdbc:mysql://localhost:3306;DatabaseName=users

<!--input the username of your databases-->

username
root

<!--input the password of your databases-->

password


<!--set the max count of activated connections-->

maxActive
20

<!--set the max count of free connections-->

maxIdle
10

<!--set the longest time of customer's waiting-->

maxWait
-1



保存后启动tomcat直接闪退,无法启动成功,连个报错都没,是我的XML写错了吗,求指教

你可以试一下这个http://blog.csdn.net/wohuozheng/article/details/70920414