Tomcat configuration in Eclipse

I use Eclipse Luna with Tomcat 8 and get confused in different places of the configuration files.

I installed Tomcat on my local computer and configured Tomcat in Eclipse as follows:

enter image description here

So there are 4 directories

  • a) catalina home: C: \ Program Files \ AppServers \ Tomcat8

  • b) Catalina base: C: \ Users \ xxx \ projectname \ Tomcat

  • c) configuration path in the Eclipse workspace: / Servers / Tomcat v8.0 Server in localhost-config

  • d) Path Deployment: wtpwebapps, which is a subdirectory a)

Both in a, b, c have the same set of configuration files (catalina.properties, context.xml, server.xml ...). What is the hierarchy of these files where I configure my server for a specific application that I run from Eclipse during development?

: : , "" " Tomcat" ""?

+4
2

, Eclipse IDE, , Server Location, :

/Servers/Tomcat v8.0 Server at localhost-config

( Eclipse, . , "production" ..)


...

! , , Catalina - tomcat, Servlet/JSP.

C:\Program Files\AppServers\Tomcat8 Tomcat8, tomcat. Eclipse, , Eclipse. Eclipse.

C:\Users\xxx\projectname\Tomcat - Tomcat, Eclipse. base eclipse. , Tomcat8. , Eclipse tomcat.

/Servers/Tomcat v8.0 Server at localhost-config .

Eclipse tomcat, ( C:\Program Files\AppServers\Tomcat8) (.. C:\Users\xxx\projectname\Tomcat) (wtpwebapps) .

Eclipse Luna - Eclipse , , , . :

enter image description here

+4

(c).

home (a) - , Tomcat. ... Tomcat, Eclipse.

Catalina (b) ( ), .

(d) - , .


, Eclipse ?

, Eclipse. -, .

+2

All Articles