TOMCAT



bin 

conf 

lib 

logs 

temp 

webapps 

work


--------------------------------------

bin startup.sh --> To Start the tomcat instance.

    - shutdown.sh --> To Shutdown the tomcat instance.
    - 
catlaina.sh -> We can use/customize this to stop/start/status for tomcat.
    - 
version.sh --> It shows the tomcat version (Java should have been set to execute this command.)


conf tomcat-users.xml --> This file contains the user details, roles. We can create an user and provide access to the user by defining roles and configuring the password for that user.


 
server.xml --> It will have the connector port and redirect port information along with the host/instance details. It will also have the access log configuration information, we can customize it.
 
logging.properties --> It will have the logging information (eg: Log levels, logging framework eg: JULI)    
 - c
atalina.properties --> Depends on the usage we will use this file, check the file for more information.
 
catalina.policy --> It will have the general policy for catalina.
 
web.xml --> It is actually a deployment descriptor, we use this to configure the MIME Types, loggin info, etc. Check the file for more details.
        - 
context.xml --> This is the file we use to create the Data Sources.


webapps - Root

 - We will place the applications here (.war files)

Note:
 When we restart the tomcat instance, it will create a folder structure of the application deployed.

eg: 
calendar.war

    calendar --> (This is an exploded format).


logs - Tomcat logs will be appeared here.


eg:
 catalina.out --> It will have the log information, it will create when we start the tomcat instance.


temp - It will be empty when we install & configure tomcat


temp/Catalina/localhost --> This folder structure will be created when we deploy applications and restart/start the tomcat.


work It will be empty when we install & configure tomcat


work/Catalina/localhost --> This folder structure will be created when we access application after the deployment.


No comments:

Post a Comment