In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to learn server.xml in tomat. The content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
Study preparation
Server.xml
Tomcat is essentially a Servlet container, and Catalina is a Servlet container. As we mentioned above, Coyote, Jasper,EL, Naming, Juli and so on are all for Catalina services, and the beginning of catalina is our commonly used server.xml, so we are going to learn catalina from server.xml today.
Server.xml
In the past, we may have only changed the port in connector, and if we do deployment, we will also modify what is under host.
Through server.xml, we can see such a hierarchical relationship.
Server contains service
Service contains connector and engine
Engine contains realm and host
Host includes context (not in the default server.xml), but we will configure this when we actually release it.
Context contains wrapper
Basic explanation of components
Server
Represents the entire Servlet container, and when Tomcat runs, there is only one Server instance
Service
A collection of one or more connector that share the same container to process their requests. Multiple service can be included in the same tomcat instance, and the service is independent of each other.
Connector
Tomcat linker, which is used to listen to the conversion socket request and transfer the socket request to Container for processing
Engine
Engine refers to the entire servlet engine, and Engine is the most advanced Container. Although it is not the location where requests are processed directly, it is the entry point for request processing.
Host
Virtual host, related to the network name of a server, the client can use this name to connect to the server. This name must be registered on DNS.
Context
Literally, it is context. In tomcat, context represents a complete web application.
Wrapper
Wrapper is used as a type of container to represent the servlet defined in web applications
Server.xml is where we can interact directly with tomcat services, and we can configure most of the properties of tomcat through server.xml.
This is the end of the study on how to carry out server.xml in tomat. I hope the above content can be of some help to you and can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
See the attachment for details. Attachment: http://down.51cto.com/data/2363365
© 2024 shulou.com SLNews company. All rights reserved.