Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed:

  • Eclipse Kepler
  • Tomcat7 at /usr/local/tomcat7

When I start tomcat $CATALINA_HOME/bin/ and go to myIp:8080 I see correct page

And now when I want to add tomcat7 at eclipse (at server view) I choose:

add new server => choose tomcat7 the finish button is disabled.

tomcat looking

I can't figure out why this happen.

I can install other servers for example - Jboss

enter image description here

But why I couldn't add new tomcat server?

How to solve this trouble?

share|improve this question
up vote 2 down vote accepted

It's a common bug in Eclipse. To resolve it:

  • Close eclipse
  • In {workspace-directory}/.metadata/.plugins/org.eclipse.core.runtime/.settings, delete: org.eclipse.wst.server.core.prefs and org.eclipse.jst.server.tomcat.core.prefs files
  • Restart Eclipse

That's all. You can check this source which refers to this other source.

share|improve this answer

Be sure that Tomcat is stopped first before adding it in Eclipse. You do not need to start or stop Tomcat outside Eclipse because you can do it inside Eclipse.

You may be forgetting to fill up the Server name textbox. Next button will be ungreyed once you filled up that textbox. Define a New Server

Upon clicking Next you need to specify the Tomcat installation directory (if you downloaded a binary) as highlighted in the Tomcat installation directory textbox. You can also click Download and install button if you don't have Tomcat yet or if you just want to be sure of that you want have the right version.

Tomcat Server

You can either click Next or Finish. Click Next to add a previous project to Tomcat. Otherwise click Finish to return to your current perspective.

Add and Remove

After returning to your perspective, just in case you are not in Java EE perspective, do this: From the menu bar click Window -> Open Perspective -> Other -> Java EE. As you can see at the bottom I have selected the Servers tab and my newly created Tomcat server is already there and was stopped. You can start or stop this server by right clicking it.

Java EE Perspective

share|improve this answer
No I can not type in that field (first slide), I stumbled across this problem and could not figure out what was going on. – nazar_art Nov 20 '13 at 14:18

just goto windows->preference search or type in box server and select default filesets then select tomcat version and click add to add the tomcat folder

Click Apply and then ok

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.