I\'m using Eclipse Luna with Tomcat 8 and am confused by the different locations of config files.
I\'ve installed Tomcat on my local machine and configured Tomcat in Ecl
Your configuration for the server that you start from Eclipse IDE are as you have given during the Server Location
settings, in your case:
/Servers/Tomcat v8.0 Server at localhost-config
(This is configured in Eclipse, no need to modify them manually. But you can check the files if you want to make the same settings in "production" etc)
Now to the details...
About the hierarchy! As you already know, I hope, Catalina is the engine in tomcat which implements the Servlet/JSP parts.
C:\Program Files\AppServers\Tomcat8
here is your Tomcat8 binaries, where you have installed tomcat. It can run as stand-alone without Eclipse, but depends on the configuration you might not see the same apps as you deploy from Eclipse. This depends on your configuration in Eclipse.
C:\Users\xxx\projectname\Tomcat
is your Tomcat custom folder, where you use in Eclipse. This you have chosen to make base and eclipse project separate. Maybe you dont want to touch the Tomcat8 installation. Here exists the needed files that Eclipse put to be able run a tomcat instance.
And with configuration in the subfolder /Servers/Tomcat v8.0 Server at localhost-config
in above path.
When Eclipse run tomcat it uses the binaries (from C:\Program Files\AppServers\Tomcat8
) with arguments for setting your base (i.e. C:\Users\xxx\projectname\Tomcat
) and with the application folder (wtpwebapps
) for deployments.
Read more at Eclipse Luna - Configuration of the Eclipse Workspace And you can always check the startup arguments to understand it better how everything is connected, see image below: