Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse cannot add Tomcat server in Ubuntu Linux(Eclipse Java EE cannot add Tomcat)
Eclipse cannot add Tomcat server in Ubuntu Linux [message #1008874] Wed, 13 February 2013 21:56 Go to next message
B Weng is currently offline B Weng
Messages: 2
Registered: February 2013
Junior Member
I was trying to add a Tomcat server in Eclipse Java EE IDE in Ubuntu. When I click "Add new server" in Eclipse and select "Tomcat v7.0 Server", the field "Server Name" is blank and I cannot type in anything in that textbox as shown below:

The textbox becomes completely frozen up and I can't type anything in that box. What I did before is I deleted a Tomcat server from Eclipse and I was trying to reinstall the Tomcat by clicking the "New Server Wizzard". But it doesn't allow me to type anything in that textbox and I cannot proceed to the "Next" button. My environment is Ubuntu Linux and Eclipse for JavaEE.

I even reinstalled the whole Eclipse Java EE but it didn't help. I did the same in Windows version of Eclipse Java EE and it is fine. So is there any bug reported on Linux version?

  • Attachment: eclipse.png
    (Size: 49.63KB, Downloaded 31 times)
Re: Eclipse cannot add Tomcat server in Ubuntu Linux [message #1009173 is a reply to message #1008874] Thu, 14 February 2013 10:28 Go to previous messageGo to next message
Eclipse User
Hi,

You need to first create a Tomcat 7 runtime before you can create a
server for it.

Go to Windows->Preferences->Servers->Installed Runtimes and add (point
to) an installed Tomcat 7 installation on your system.

Rich
Re: Eclipse cannot add Tomcat server in Ubuntu Linux [message #1009246 is a reply to message #1009173] Thu, 14 February 2013 13:48 Go to previous message
B Weng is currently offline B Weng
Messages: 2
Registered: February 2013
Junior Member
Thanks for your info. I solved the problem finally by myself. I think there is a bug in the Eclipse Java EE Juno version for Linux version.

What I did is:

Something is hidden in org.eclipse.jst.server.tomcat.core.prefs

So in order to solve the problem

close eclipse
go to {workspace-directory}/.metadata/.plugins/org.eclipse.core.runtime/.settings
remove the files org.eclipse.wst.server.core.prefs and org.eclipse.jst.server.tomcat.core.prefs

This will solve my problem.

I think Linux version of Eclipse JavaEE Juno has a bug for this. But Windows version is fine.
Previous Topic:Custom Hover Over/Value Viewer For Specific Type
Next Topic:Parser
Goto Forum:
  


Current Time: Fri May 24 23:19:20 EDT 2013

Powered by FUDForum. Page generated in 0.01543 seconds