scereze Tux's lil' helper
Joined: 10 Apr 2002 Posts: 132
|
Posted: Tue Mar 21, 2006 5:42 pm Post subject: Rights for tomcat with Eclipse-Wtp |
|
|
Hi,
I'm trying to create a web application with Eclipse and Tomcat. I installed Eclipse and Tomcat from Portage, then I updated to 3.1.2 through the update manager. I also installed the last Wtp plugin.
Under Eclipse, I created a web project and a simple jps page. When I want to test this page, I got the following error message:
*******
could not load the tomcat server configuration at /Servers/Tomcat v5.0 Server @localhost-config. The configuration maybe be corrupt or incomplete.
*******
I can't start Tomcat either.
Using eclipse as root is solving this problem. Tomcat can be launch easily and the jsp page is working.
So I guess, it is a problem of right on the tomcat server. I add myself to the tomcat group using usermod.
ls -l /opt/tomcat:
d---rwxrwx 2 tomcat tomcat 704 mar 21 15:34 bin
d---rwxrwx 5 tomcat tomcat 120 mar 21 15:34 common
lrwxrwxrwx 1 tomcat tomcat 12 mar 21 15:34 conf -> /etc/tomcat5
lrwxrwxrwx 1 tomcat tomcat 16 mar 21 15:34 logs -> /var/log/tomcat5
d---rwxrwx 5 tomcat tomcat 120 mar 21 15:34 server
d---rwxrwx 4 tomcat tomcat 96 mar 21 15:34 shared
d---rwxrwx 2 tomcat tomcat 72 mar 21 15:34 temp
d---rwxrwx 5 tomcat tomcat 120 mar 21 15:34 webapps
d---rwxrwx 3 tomcat tomcat 96 mar 21 15:37 work
What can I do to have tomcat working ?
thanks for your help. |
|