How to install and configure Tomcat Admin

Source: Internet
Author: User
Tags apache tomcat download tomcat server apache tomcat

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 extracting the downloaded administration Web application file.

For example, put 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.

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.

Fifth Step,Copy Admin entire folder in C:/tom/apache-tomcat-5.5.17/server/webapps to C:/Program Files/apache softwarefoundation/tomcat5.5/ The Server/webapps folder.

Sixth Step,Open the 5.5/conf/file in the C:/Program files/apache Software foundation/tomcat tomcat-users.xml with notepad such as editing. 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,Type http://localhost:8080/admin in your Web browser, and if you can see the login interface for the Tomcat Server Web administration Tool, you're done. If you do not see the above page, you can check the browser's proxy server settings, so that it can accept localhost.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.