73

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

user310291
  • 36,946
  • 82
  • 271
  • 487

4 Answers4

146

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.

dimitrisli
  • 20,895
  • 12
  • 59
  • 63
11
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
Keshav Pradeep Ramanath
  • 1,623
  • 4
  • 24
  • 33
11

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.

stacker
  • 68,052
  • 28
  • 140
  • 210
2

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

Hemant Nagpal
  • 624
  • 6
  • 14