You are not logged in.

#1 2008-07-28 20:00:04

uastasi
Member
From: Salento - Italy
Registered: 2007-11-27
Posts: 247

Set Tomcat to work under Eclipse

Hi all,
I've recently installed eclipse-jee and Tomcat 6.0 from aur but I'm not able to set Tomcat as server to run my web project directly into Eclipse.
I've read tomcat wiki page , and performed successfully every step but

# modprobe capability
FATAL: Module capability not found.

I think it could be an access policy problem, since I have not any problem if I run eclipse from root.  neutral:|:|

Additional informations:

JAVA_HOME=/opt/java
CLASSPATH=:/lib:/lib:/opt/java/lib:/opt/java/jre/lib
J2SDKDIR=/opt/java
J2REDIR=/opt/java/jre

Till the last battle, till the last bottle.
aur - twitter

Offline

#2 2010-04-13 15:44:05

samyazza
Member
From: Cracow, Poland
Registered: 2010-01-09
Posts: 27

Re: Set Tomcat to work under Eclipse

I have the very same problem and the very same setting, but with tomcat 5.5 from the normal Arch repository. Is it even possible to get eclipse and tomcat going on Arch?


EDIT: A workaround is recursively chowning the tomcat directory (/opt/tomcat), for Eclipse inists on writing inside it. It's not very elegant and probably unsafe, but for now it simply works.

Last edited by samyazza (2010-04-13 20:17:07)

Offline

#3 2010-08-10 20:22:20

puk
Member
Registered: 2010-02-14
Posts: 6

Re: Set Tomcat to work under Eclipse

I used the group tomcat, added my user to it and chgrp-ed /opt/tomcat recursively:
cd /opt
chgrp -R tomcat tomcat

One file needs extra surgery. have forgotten which one. but it was not complicated i think.
it was something with write permission. So i chmod-ed the file:
cd to-folder-which-contains-the-file
chmod g+w file

To set up tomcat in eclipse, i used that tutorial:
http://www.se.uni-hannover.de/lehre/tut … clipse.php

Hehe, i hope you speak german. :-)
Good luck.

Offline

#4 2010-08-10 21:10:26

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Set Tomcat to work under Eclipse

Please post a new thread for any issues or how tos. The version that the original op was using might have other implications which might not be applicable anymore


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB