user2854207
user2854207

Reputation:

tomcat server installation error in eclipse?

I installed Tomcat Server successfully. When I check in my browser using localhost:8080 it responds with:

this page

However, when i configure tomcat on Eclipse, I get the following error:

Error

EDIT: installation process of tomcat6

cd /home/mpatil/Downloads/
tar zxvf apache-tomcat-6.0.37.tar.gz
cd apache-tomcat-6.0.37/bin
./startup.sh 

thanks in adavance

Upvotes: 2

Views: 3806

Answers (2)

Alex Nelson
Alex Nelson

Reputation: 1242

If you installed tomcat as is recommended, most likely the permissions on your tomcat directory are incorrect for what you want to do as borice mentions above. In my example below, I've got tomcat installed to /usr/local/apache-tomcat-7.0.52. By default, I have it running as a non privileged user.

example with strict permissions

For local development, we don't need to worry (too much) about permissions. But with these permissions set I get error message you mention above:

example error message

If I go ahead and change the permissions so that I am the owner, or add a group for which I am member, I can create the server without issue.

corrected permissions

Now with proper permissions, I'm able to add the server.

server added

Upvotes: 2

borice
borice

Reputation: 1049

From your screenshot you can easily tell that you have a Permission denied problem. Make sure that the file in question has the correct permissions before trying again.

Upvotes: 0

Related Questions