I\'m having a problem running tomcat 6 with eclipse 3 in ubuntu.
I installed tomcat 6 on my machine and when I tested it using http://localhost:8080
, it
I wrote a patch for solving this problem and it has been merged in Ubuntu and Debian. Now its possible to configure tomcat6 inside Eclipse without any pains.
In Ubuntu 11.04 you can install tomcat6-user package. Then configure a user instance of tomcat6 by running this command
$tomcat6-instance-create ~/my-tomcat-dir
A user instance of tomcat6 will be configured in ~/my-tomcat-dir directory.
Now to add tomcat6 inside eclipse to setup your development environment, simply point eclipse towards this directory and you will be ready to go.
If you are running an older version of Ubuntu, then you can simply download the latest version of tomcat6-user package from the Debian FTP: http://packages.debian.org/hu/sid/all/tomcat6-user/download
I was suffering the same problem
I've got the lattest eclipse 3.4.1 GanyMede. Changed the Ubuntu Tomcat 6 install to the plain one from tomcat.apache.org
chmod 666 /usr/share/tomcat6/conf*
and the problem was solved
I had the same problem, i use ubuntu 9.04 and tomcat 6.
I installed the tomcat 6 for apt-get, installed also jre, jdk. (SUN)
In order to resolve the problem do:
I you have the newer version of eclipse, try to update the Web Tool Plateform plugins in Help/software Updates... If both eclipse and WTP are up to date I don't see were the problem can be...
PS : there is a "comment" button, do not post an answer to comment an answer ;)
If you can test it with http://localhost:8080 then the server is already running, and there's nothing for Eclipse to create. try closing down the server, and then setting up eclipse to point to the installation directory.
I have been having the same problem (on fedora 9). You have to change the permissions of the files inside the tomcat conf directory to rw (chmod a+rw tomcat6/conf/*). Solved it for me!