Why tomcat server location property is greyed in Eclipse

JavaEclipseTomcat

Java Problem Overview


I want to change server location but I can't it's greyed (I cannot select last radio button) how can I do it then:

enter image description here

Java Solutions


Solution 1 - Java

On the Servers view, delete all the webapps published under your server (right click on the server > Remove or right click on the server > Add and Remove and then remove manually the webapps) and finally right click on the server > Publish (the 'empty' content). This way you would un-gray the Server Locations area.

Solution 2 - Java

As the dialog says : "Server must be published with no modules present to make changes." Stop the server remove any modules. After that the options will be enabled.

Solution 3 - Java

One way to change the server location is by doing the following steps:

    1)Right click on the Server(Example Tomcat server).
    2)Go to Properties.
    3)Click on "Switch Location" , in the "General" tab.
    4)The "Location" information changes.
    5)Now go back and the settings will be enabled to change the Server Locations

Solution 4 - Java

If you are still dont see the option enabled, start the tomcat and then it will be enabled.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionuser310291View Question on Stackoverflow
Solution 1 - JavadimitrisliView Answer on Stackoverflow
Solution 2 - JavastackerView Answer on Stackoverflow
Solution 3 - JavaKeshav Pradeep RamanathView Answer on Stackoverflow
Solution 4 - JavaHemant NagpalView Answer on Stackoverflow