Tomcat Eclipse configuration file Auto-restore

Source: Internet
Author: User

Software version apache-tomcat-8.0.9 Eclipse 4.4

Manual to Tomcat configuration file directory E:\apache-tomcat-8.0.9\conf modified Tomcat-user.xml

Added users and Roles

<role rolename= "Tomcat"/> <role rolename= "admin"/> <role rolename= "manager"/> <role rolename= " Manager-gui "/> <user username=" admin "password=" admin "roles=" manager,manager-gui,tomcat,admin "/>

Direct restart Tomcat can be logged in with admin, but eclipse will automatically restart Tomcat after modifying the Web. xml file in Eclipse.

And then just modified Tomcat-user.xml was restored back, referring to the Netizen data that is the Eclipse file synchronization problem caused,

Need to be modified in eclipse in order to take effect. Such as

Modifications made through eclipse will not be restored.


Related Article

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.