In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is to share with you about how to configure the Tomcat architecture, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
I. detailed explanation of the release program
Context
File path of docBase:web application
Path:URL entrance
Reloadable: whether the bytecode change server reloads the web application
II. Tomcat server architecture
1.Server the entire combination of Servlet containers, which can contain one or more
2.service: it consists of one or more Connector and an Engine that handles all customer requests obtained by Connector.
3.Connector: a client-program interaction component that receives requests and returns responses to clients.
4.Engine: the processing connector receives the request
5.Host: virtual host
6.Context: a Context corresponds to a Web Application
III. Virtual host
1. When you enter the URL, you will first go to the host file to find out if there is a corresponding IP address, and how to access the IP address directly.
two。 If not, it will go to the public network to find the DNS server to resolve the domain name and IP address.
3. Multiple domain names can access the same IP
4. One IP corresponds to one computer.
IV. Installation of Tomcat plug-in in Eclipse
Plug-in function:
You can use icons to turn on, shut down, and restart the server.
Installation method:
1. Download plug-in: https://jaist.dl.sourceforge.net/project/tomcatplugin/net.sf.eclipse.tomcat.updatesite-2018-03-08.zip
two。 Find help- > install new software in Eclipse
3. Enter the dialog box, click add and then pop up add Repository to select the location of the downloaded plug-in, and name can write and click to determine.
4. Select tomcat-plugin in the list box and click next.
5. Accept the license, then wait, and there will be installation progress in the lower right corner of eclipse. When the progress is complete, the request to restart eclipse will pop up.
Installation steps:
Establishing a relationship between plug-ins and tomcat
Now the plug-in does not know where the server is, so configure the address of the server
Configure association
1.windon-> configuration
two。 Find tomcat.
3. Select the corresponding version of the server
4. Find the root path where the tomcat server is stored
Steps:
Atl+t restart the server
The above is how to configure the Tomcat architecture, and the editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
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
© 2024 shulou.com SLNews company. All rights reserved.