</parameter>
<!-- Class name for SQLServer2000 JDBC driver -->
<parameter>
<name>driverClassName</name>
<value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
</parameter>
<!-- The JDBC connection url for connecting to your MS SQLServer dB.The autoReconnect=true argument to the url makes surethat the mm.Sql Server JDBC Driver will automatically reconnect ifmysqld closed the connection. mysqld by default closes idleconnections after 8 hours.-->
<parameter>
<name>url</name>
<value>jdbc:microsoft:sqlserver://localhost:1433;databaseName=XKBCourse</value>
<!--must use & not use & -->
</parameter>
</ResourceParams>
</Context>
tomcat5.5.x 配置记录。
1.下载:
把jakarta-tomcat-5.5.x.zip
和jakarta-tomcat-5.5.x-compat.zip
和jakarta-tomcat-5.5.x-admin.zip
(Tomcat 默认是没有内置admin模块了
Tomcat's administration web application is no longer installed bydefault. Download and install the 'admin' package to use it.)
都解压到同一个目录下面。比如:D:jakarta-tomcat-5.5.x
(如果使用jdk1.4,才需要compat.zip用jdk1.5就可以免了这个。)
2.修改jakarta-tomcat-5.5.xconftomcat-users.xml.
添加管理员账号lizongbo,密码为lizongbopass.
新xml如下:
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename='tomcat'/>
<role rolename='role1'/>
<role rolename='manager'/>
<role rolename='admin'/>
<user username='tomcat' password='tomcat'roles='tomcat'/>
<user username='role1' password='tomcat'roles='role1'/>
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-28301-2.html
瞬间被偷跑400多MB流量
现在呢
1的不知道要不要升