Tomcat 5.5 以後的binary 核心安裝版不再整合Tomcat Administration Web Application,需要獨立下載安裝。而Tomcat 6.0.13的Administration Web Application僅包含在源碼包中,沒有獨立下載的安裝包。經過尋找資料和多次實踐,終於使用Tomcat 5.5.23 的Administration Web Application在Tomcat 6.0.13下配置成功。現將配置過程寫出,如有紕漏,還請多多指教。過程如下:
一、下載Tomcat 5.5.23 的admin application:
:http://apache.mirror.phpchina.com/tomcat/tomcat-5/v5.5.23/bin/apache-tomcat-5.5.23-admin.zip
二、解壓apache-tomcat-5.5.23-admin.zip,將conf和server兩個檔案夾拷貝到Tomcat 6.0.13安裝目錄下。
三、下載Apache Commons Modeler,Logging組件,解壓後將commons-modeler-XXX.jar、commons-logging-XXX.jar拷貝到Tomcat 6.0.13安裝目錄下的lib目錄中。
四、重啟Tomcat,在瀏覽器中輸入http://127.0.0.1:8080/admin,如果能看到 Tomcat Web Server Administration Tool 的登入介面,即安裝成功。若不成功,可以查看Tomcat 6.0.13安裝目錄下logs目錄裡的記錄檔如(admin.xxxx-xx-xx.log),看看是出了什麼問題。
1.commons-modeler:
http://commons.apache.org/downloads/download_modeler.cgi
http://apache.mirror.phpchina.com/commons/modeler/binaries/commons-modeler-2.0.1.zip
2.commons-logging:
http://commons.apache.org/downloads/download_logging.cgi
http://apache.mirror.phpchina.com/commons/logging/binaries/commons-logging-1.1.zip