2

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

Alex Nelson
  • 1,182
  • 9
  • 19
  • Try this.., This will help you. [http://stackoverflow.com/questions/23003617/trouble-starting-tomcatv7-via-eclipse-kepler/35514997#35514997](http://stackoverflow.com/questions/23003617/trouble-starting-tomcatv7-via-eclipse-kepler/35514997#35514997) Thanks. – ROOT Nov 18 '16 at 10:30

2 Answers2

2

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

Alex Nelson
  • 1,182
  • 9
  • 19
0

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.

borice
  • 1,009
  • 1
  • 8
  • 15
  • hello see my screen shots its telling the configuration is corrupt or in complete.it means what? my question is edit what i approach while installing tomcat6 –  Nov 11 '13 at 07:01
  • I don't think there's anything wrong with the configuration. The **Permission denied** message is related to the file **/home/mpatil/Downloads/apache-tomcat-6.0.37/conf/catalina.policy**. You should check the permissions of that file. You can try: `sudo chown -R /home/mpatil/Downloads/apache-tomcat-6.0.37` in case somehow your files are owned by some other user, depending on how they were extracted. – borice Nov 13 '13 at 16:06