Reputation:
I installed Tomcat Server successfully. When I check in my browser using localhost:8080 it responds with:
However, when i configure tomcat on Eclipse, I get the following 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
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.
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:
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.
Now with proper permissions, I'm able to add the server.
Upvotes: 2
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