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 Eclipse as follows:
So there are 4 directories involved
a) catalina home: C:\Program Files\AppServers\Tomcat8
b) catalina base: C:\Users\xxx\projectname\Tomcat
c) the configuration-path within my Eclipse workspace: /Servers/Tomcat v8.0 Server at localhost-config
d) Deploy path: wtpwebapps which is a subdirectory of a)
Both in a,b,c I have the same set of config-files (catalina.properties, context.xml, server.xml...). What is the hierarchy of these files, where do I configure my server for a specific application that I start from within Eclipse during development?
Edit: Related to this: What is happening if I right-click on the server in the servers-tab and choose "clean Tomcat working directory" or simply "clean"?