File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Spring in Action this week in the Spring forum!
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
Author

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

Thanks
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

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
Marshal

Joined: Jan 10, 2002
Posts: 61420
    
  67

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


[Asking smart questions] [Bear's FrontMan] [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
Greenhorn

Joined: Jan 16, 2010
Posts: 1
There's a better workaround so you can keep Ubuntu's Tomcat6 (taken from http://ubuntuforums.org/showthread.php?p=8541057, 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: http://aspose.com/file-tools
 
subject: Problem running Tomcat 6 with eclipse 3 on Ubuntu