Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why tomcat server location property is greyed in Eclipse

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

like image 777
user310291 Avatar asked Feb 07 '11 09:02

user310291


People also ask

How do I change Tomcat deploy path in Eclipse?

In the opening window, you should see your tomcat installation. double click on that an a new setting page will open. You will see the Server Locations title, you can set it from that place.

Where is Tomcat server located?

By default, these files are located at TOMCAT-HOME/conf/server. xml and TOMCAT-HOME/conf/web.

How do I change Tomcat settings in Eclipse?

For configuring the tomcat server in eclipse IDE, click on servers tab at the bottom side of the IDE -> right click on blank area -> New -> Servers -> choose tomcat then its version -> next -> click on Browse button -> select the apache tomcat root folder previous to bin -> next -> addAll -> Finish.


1 Answers

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.

like image 124
dimitrisli Avatar answered Oct 20 '22 02:10

dimitrisli