Tomcat 6 Eclipse config — Server Locations locked for edit

谁说我不能喝 提交于 2019-12-07 12:30:03

问题


I am trying to change the default location for my Tomcat server running out of Eclipse EE 1.4.1 so that it uses the original Tomcat installation (which works fine when run standalone out of the console) and not the one created by Eclipse in the workspace as per this thread. However, my Server Locations section on the Tomcat server configuration form is all grayed out (see red rectangle):

Why is that and how do I change it?


回答1:


It says it all on the page you published :

Server must be published with no modules present to make changes.

Stop your server. Undeploy everything and then (the trick part) click on publish to be sure to have nothing deployed (ie no files copied to the deploy location, the click on publish with no module in your server will erase everything deployed). Then you will be able to change the setting.




回答2:


Before making any changes in Tomcat Server Location, you need to remove project(s) deployed on server.

To remove project: expand tomcat server in "Servers" view right click and select remove




回答3:


Just stop your tomcat server first ;)



来源:https://stackoverflow.com/questions/15140470/tomcat-6-eclipse-config-server-locations-locked-for-edit

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!