Why tomcat server location property is greyed in Eclipse
JavaEclipseTomcatJava 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:
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.