Resolves an issue where the server location option for a Tomcat server in eclipse cannot be modified

Source: Internet
Author: User
Tags tomcat server

Select Window-show View-server in the Eclipse menu bar to see a panel of services, and the services panel can see the configured Tomcat and the items under Tomcat

Double-click Tomca to enter the settings screen, and if you see that the various options under service locations are in a grayed-out state, you can revert to editable state in the following ways:

Remove all items under Tomcat first, then right-click and select Clean. Double-click Tomca again to enter the settings screen, you can see the service locations under the various options are already in the editable state.

Service Locations

Other:

The default options are: Use workspace metadata (dose not modify Tomcat installation),

? If the Modify option is: Use Tomcat installation (takes control of Tomcat installation)?

The Tomcat server launched at Eclipse can be accessed to the Tomcat home page (for example, through http://localhost:8080 access), Otherwise, by default, the Tomcat server launched in Eclipse cannot be accessed to the Tomcat home page, and only Tomcat launched under DOS can be accessed to the Tomcat home page.

Tomcat-7.0.85\conf\tomcat-users.xml, add the back.

<role rolename= "Manager-gui"/>
<user username= "Tomcat" password= "123456" roles= "Manager-gui"/> can be managed in the Tomcat home page

Resolves an issue where the server location option for a Tomcat server in eclipse cannot be modified

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.