The user name and password of the tomcat server management interface are forgotten, and the tomcat password is forgotten.

Source: Internet
Author: User

The user name and password of the tomcat server management interface are forgotten, and the tomcat password is forgotten.
Tomcat server http: // localhost: 8080/
In this way, you need to enter the user name and password after clicking the Manager App to enter the management application interface.
I forgot my username and password.
Solution:
Go to the apache-tomcat-7.0.53 \ conf directory
Open this file tomcat-users.xml
Configure as follows:

Before the </tomcat-users> node

<role rolename="manager-gui"/><user username="admin" password="admin" roles="manager-gui"/>

Save the configuration and restart the tomcat server.
Access http: // localhost: 8080/
Click the Manager App and enter the User Name admin and password admin to go to the management application page.


What should I do if the user name and password appear on the Tomcat server during use?

LZ, you have not installed or deployed it in Tomcat! Any browser except html xhtml Dhtml xml can be opened, and all others must be installed and deployed!

The LZ problem is not clearly described!

If you go to Tomcat manager to manage your website, a dialog box is displayed, asking you to enter your account and password! Click "save". The next access will be unavailable!

If this problem occurs when the WEB application is installed and deployed, your Tomcat configuration is incorrect!

After the description is clear, other people can help you!

Add a web project to the tomcat server. When you open the page, enter the account and password in the account and password configuration. Why is the error?

Modify D: \ apache-tomcat-6.0.32 \ conf \ tomcat-users.xml
The tomcat-users.xml content is as follows:
<? Xml version = '1. 0' encoding = 'utf-8'?>
<Tomcat-users>
<Role rolename = "manager"/>
<User username = "admin" password = "admin" roles = "manager"/>
</Tomcat-users>

The username and password are both admin
If these are all correct, you cannot enter them yet. It is very convenient to consider whether Tomcat is damaged. If Tomcat is unzipped, you can use them easily. Try another Tomcat. The default username and password are admin 123456.

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.