Install and configure Tomcat admin

Source: Internet
Author: User
Tags file copy tomcat server
You can configure your server very conveniently 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 after 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 have a administration Web

Application provides an automated, consolidated Setup program. 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 see Tomcat ' s administration Web application is no longer installed by default.   Download and install the "admin" package to use it. That means you don't have a management tool installed. And then look down.
Step two, download admin package. 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 D:/tom, you will find the extracted files for d:/tom/apache-tomcat-5.5.20. 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 d:/tom/apache-tomcat-5.5.20/conf/catalina/localhost/admin.xml the
Admin.xml file copy to D:/java/tomcat55/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 D:/tom/apache-tomcat-5.5.20/server/webapps to the D:/java/tomcat55/server/webapps folder.

The sixth step is to open the Tomcat-users.xml file in d:/java/tomcat55/conf/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"/>
In general, this line defaults to a
Note that Username/password can be any combination you like, but roles= "admin" cannot be changed arbitrarily.

Seventh step, restart Tomcat Server, and then open http://127.0.0.1:8080/into the manager to start the Admin service, and then into the admin module, in the Web browser to type http://localhost : 8080/admin, if you can see the login interface of the red 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.