Tomcat 5.5 以后的版本
1.下载admin package,http://apache.etoak.com/tomcat/tomcat-5/v5.5.35/bin/apache-tomcat-5.5.35-admin.zip.
2.解压下载的文件apache-tomcat-5.5.35-admin.zip,解压后的路径为C:\apache-tomcat-5.5.35.
3.将C:\apache-tomcat-5.5.35\conf\Catalina\localhost\admin.xml复制到C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\Catalina\localhost下.
4.将C:\apache-tomcat-5.5.35\server\webapps下的admin整个文件夹复制到C:\Program Files\Apache Software Foundation\Tomcat 5.5\server\webapps下.
5.打开C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\tomcat-users.xml,加入<user username="admin" password="admin" roles="admin,manager"/>.
6.重启Tomcat Server,访问http://localhost:8080/admin,如果能看到Tomcat Server Web Administration Tool的login界面,则成功.
Tomcat 6.0以后的版本
1.下载admin package,http://apache.etoak.com/tomcat/tomcat-5/v5.5.35/bin/apache-tomcat-5.5.35-admin.zip.
2.解压apache-tomcat-5.5.35-admin.zip,将conf和server两个文件夹复制到Tomcat 6.0.13安装目录下.
3.下载Apache Commons Modeler,Apache Commons Logging组件
commons-modeler下载地址:http://commons.apache.org/downloads/download_modeler.cgi
commons-logging下载地址:http://commons.apache.org/downloads/download_logging.cgi
解压后将commons-modeler-XXX.jar,commons-logging-XXX.jar复制到Tomcat 6.0.13安装目录下的lib目录中.
4.重启Tomcat Server,访问http://localhost:8080/admin,如果能看到Tomcat Server Web Administration Tool的login界面,则成功.