Trouble starting tomcatv7 via Eclipse Kepler

23,684

Solution 1

Unfortunately, this is not much of an answer. I finally never got this working with eclipse Kepler. However, when I installed linux mint on my computer, and used its software installer to install linux 3.8 (indigo), added all the EE updates (all the web/xml additions via help-->install new software-->indigo update site), installed tomcat 7.0, I finally got eclipse to play nice with tomcat (that is, I can run the webapp on tomcat from eclipse, without copy/pasting all the requisite files into tomcat, which is saving me a boatload of time).

I'm sure there is a better way to do this - if anyone has any thoughts about what may have gone wrong in my initial environment, please advise - I'm curious why it didn't work. Here were the specs:

MacOS 10.6.8 Eclipse 4.3.2 Tomcat 7.0.54

My apologies, Raju, for not responding sooner. Thanks for your post.

Solution 2

I am facing this issue. I have fixed as following way,

Step 1: Delete server at local host(Server tab)

Step 2: Delete Servers folder in (navigator/project explorer)

Step 3: After add New->server->Apache->choose path

Step 4: start the server

After it will work......

Solution 3

How to solve:

1.Close Eclipse

2.Copy all files from TOMCAT_7_HOME/conf to WORKSPACE_FOLDER/Servers/Tomcat v7.0.53 Server at localhost-config

3.Start Eclipse

4.Expand the Servers project, click on the Tomcat 7 project and hit F5

5.Start Tomcat from Eclipse

Solution 4

Go to Server --> Apache Tomcat v7.0 --> Add Select jre7 instead of Workbench default JRE Click on Finish Stop Server and then Start Server

Solution 5

This is a permissions problem (I had the same issue in ubuntu 14.04, eclipse luna, tomcat7). The executable files are not marked as "executable" when tomcat is donwloaded from eclipse.

Just go to your "[tomcat]/bin" directory in your file system and add execution permission (x) to all .sh files. Then go back to eclipse/servers tab, delete the tomcat7 entry an create again, finally start tomcat from eclipse.

Share:
23,684
Ian Riley
Author by

Ian Riley

Updated on July 31, 2022

Comments

  • Ian Riley
    Ian Riley almost 2 years

    I see that problems like mine have been posted before, some of which posts were answered. I've attempted the fixes, which indeed seem like they should have worked, but I'm still running into the same problem:

    I'm trying to run a dynamic web project in Eclipse Kepler (Java EE) via apache tomcat 7.0.53 on my localhost. I've created tomcat as a server in Eclipse, and copied the config files from /tomcat/7.0.53/libexec/conf into /workspace/Servers/Tomcat v7.0 Server at localhost-config, and changed the permissions on the files so that they are all readable and writeable.

    However, when I try to start the tomcat server in eclipse, I get this error:

    Could not load the Tomcat server configuration at /Servers/Tomcat v7.0 Server at localhost-config. The configuration may be corrupt or incomplete.

    In case it's helpful, it's all being run in mac osx 10.6.8, on a 64-bit machine.

    Thanks in advance for your help.