File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Linux / UNIX and the fly likes Problem running Tomcat 6 with eclipse 3 on Ubuntu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Problem running Tomcat 6 with eclipse 3 on Ubuntu" Watch "Problem running Tomcat 6 with eclipse 3 on Ubuntu" New topic

Problem running Tomcat 6 with eclipse 3 on Ubuntu

Sammy Bill
Ranch Hand

Joined: Dec 29, 2008
Posts: 96
Hey Guys,
I m Having a problem running tomcat 6 with eclipse 3 in ubuntu.
i installed tomcat 6 on my machine and when i test it using http://localhost:8080, it work fine.
But when i want to create a server in eclipse, when i select Tomcat 6 , i get the following message
" Cannot create a server using the selected type".
Any idea why is that ???
I appreciate any help

Peter Johnson

Joined: May 14, 2008
Posts: 5852

How did you install Tomcat? How did you install Eclipse? Which version of Eclipse (3.what?). What version of Ubuntu? What JDK are you using?

Which dialog box where you on when you got the error message?

What did you set the Tomcat installation directory to?

JBoss In Action
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63837

"Usssama MB", please check your private messages for an important administrative matter. Again.

[Asking smart questions] [About Bear] [Books by Bear]
Tomita Militaru
Ranch Hand

Joined: Jan 16, 2009
Posts: 37
Make sure you installed Tomcat like this and after that choose from Eclipse the location of the Tomcat folder.

Please provide more details.

Poor is the man whose pleasures depend on the permission of another.
Tarek Said

Joined: Jan 16, 2010
Posts: 1
There's a better workaround so you can keep Ubuntu's Tomcat6 (taken from, by DisDis)

In a terminal:

There. Now just go to Window/Preferences/Sever/Runtime Environments, add the Apache Tomcat6 Server and use /usr/share/tomcat6 as the installation directory!
I agree. Here's the link:
subject: Problem running Tomcat 6 with eclipse 3 on Ubuntu
It's not a secret anymore!