Tomcat6.0發(fā)布有段時(shí)間了,今天重裝系統(tǒng),所以就順便裝了TOMCAT6.0。
下面是配制信息:
一、用戶變量
CLASSPATH:.;D:\Program Files\Java\jdk1.6.0\lib\tools.jar;C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar;C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\mssqlserver.jar;C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar;D:\Tomcat 6.0\lib\mysql-connector-java-5.0.4-bin-g.jar;D:\Tomcat 6.0\lib\servlet-api.jar;D:\Tomcat 6.0\lib\el-api.jar 二、系統(tǒng)變量
1、JAVA_HOME: D:\Program Files\Java\jdk1.6.0 2、在path后加:%JAVA_HOME%\bin 三、數(shù)據(jù)庫驅(qū)動(dòng)
1、安裝SQL Server 2000的驅(qū)動(dòng),然后把C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib目錄下的三個(gè)jar包拷貝到 D:\Tomcat 6.0\lib(針對所有JSP應(yīng)用項(xiàng)目),或單個(gè)應(yīng)用項(xiàng)目的WEB-INF/lib下(針對此應(yīng)用項(xiàng)目); 2、MySQL數(shù)據(jù)庫驅(qū)動(dòng):拷貝mysql-connector-java-5.0.4-bin.jar到D:\Tomcat 6.0\lib(針對所有JSP應(yīng)用項(xiàng)目),或單個(gè)應(yīng)用項(xiàng)目的WEB-INF/lib下(針對此應(yīng)用項(xiàng)目)! 注:文中C: D:等盤符,根據(jù)實(shí)際情況而定!
|
|