Eclipse built-in Tomcat configuration

Source: Internet
Author: User

1. First of all, you must download the Java version of Eclipse, and then go to Apache Tomcat's official website to the next Tomcat. Unzip to the directory you want to put.

Runtime environments, Server, Preferences, 2.Eclipse

3. Add a server to the right border and select the tomcat you unzipped

4.Eclipse, Window----Show View, other->servers adds control of the server to the Eclipse interface

5. Double-click on the added server, select Use Tomcat Local under Server location (if Gray is not available here, right-click on the server to remove all items and then tap Clean)

6. At this time your project directory will appear in a server folder, double-click the following tomcat-users.xml, the following user configuration paste in

<role rolename="Tomcat"/>

<role rolename="Role1"/>

<role rolename= "Manager"/>

<role rolename="admin"/>

<role rolename= "Admin-gui"/>

<role rolename= "Admin-script"/>

<role rolename= "Manager-gui"/>

<role rolename= "Manager-script"/>

<role rolename= "manager-jmx"/>

<role rolename= "Manager-status"/>

<user Password= "Admin" roles= "admin,manager,role1,tomcat,admin-gui,admin- Script,manager-gui,manager-script,manager-jmx,manager-status " username=" admin "/>

The above configuration is sufficient.

Eclipse built-in Tomcat configuration

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.