How to install and configure Tomcat Admin
How to install and configure the Tomcat administration WEB application
How install and configure Tomcat Administration WEB Application
Yyjason Original, July 22, 2006
Tomcat 5 can be configured easily by using a configuration application that runs in a Web browser. This application is called the Tomcat administration Web application. However, the binary core installation version of Tomcat 5.5 no longer provides Tomcat administration Web application. To install the latter, you need to download and install it separately. Tomcat does not provide an automated consolidated installer for the Administration Web application. This article describes the detailed procedures for installation and configuration.
The first step is to make sure that your Tomcat has the Administration WEB application installed. First make sure the Tomcat Service is running. Then in the browser, type Http://localhost:8080/admin, and if you see a page of Tomcat web Server Administration Tool, explain administration Web application It's already installed. You can save some time and don't read the following. If you're looking at
Tomcat ' s administration Web application is no longer installed by default. Download and install the "admin" package to use it.
So this article even if you read the right, is specifically written for you.
Step two, download admin package. To tell you the truth, many people can't find where to download. It's not your fault. The instructions for the Apache Tomcat download page are not very clear, and of course the technical documentation is not exhaustive. But people have already provided you with powerful open source software, what can you complain about. The odd time to blame is not down, kungfu is not deep enough.
Looking carefully, http://tomcat.apache.org/download-55.cgi, the fourth largest item under the binary distributions column of the download page, administration WEB application is.
The third step, when the download of the Administration Web application files, such as in the C:/tom, you will find the extracted files for c:/tom/apache-tomcat-5.5.17. When you type http://localhost:8080/admin to check admin, you will find that Tomcat has not changed anything. Because the extracted admin file is not yet configured into Tomcat's system. The following steps show you how to configure the admin file to a tomcat server.
The fourth step, will c:/tom/apache-tomcat-5.5.17/conf/catalina/localhost/admin.xml the
Admin.xml file copies to C:/Program Files/apache Software foundation/tomcat 5.5/conf/catalina/localhost. In the folder. Note Be sure to put it in the correct path folder.
The fifth step is to copy the Admin entire folder in C:/tom/apache-tomcat-5.5.17/server/webapps to c:/ Program Files/apache the Softwarefoundation/tomcat5.5/server/webapps folder.
The sixth step is to open the 5.5/conf/file in the C:/Program files/apache Software foundation/tomcat tomcat-users.xml with notepad such as editing function. Before the last line in </tomcat-user>, add the following line
<user username= "admin" password= "Tomcat" roles= "admin, manager"/>
Note that Username/password can be any combination you like, but roles= "admin" cannot be changed arbitrarily.
Step seventh, restart Tomcat server and type http://localhost:8080/admin in your Web browser, and if you can see the login interface for the Tomcat server Web administration Tool, is done. If you do not see the above page, you can check the browser's proxy server settings, so that it can accept localhost.