This article mainly talks about the process of tomcat "rough stop" and several key information in the solution. The detailed solution steps will be in the following articles.
Let's take a look at the overall architecture of Tomcat to get a general understanding of the relationship between Tomcat components:Source:< ...
Posted on Sat, 06 Jun 2020 22:58:32 -0700 by HalfaBee
In Java, resources from different sources are abstracted into URL s, and the read logic of resources from different sources is processed by registering different handlers (urlstreamhandlers).
However, the URL does not have a default definition of a handler relative to resources such as Classpath or ServletContext, although you can register your ...
Posted on Fri, 05 Jun 2020 23:20:24 -0700 by phpfreakjav
Experiment: install nginx on a server, and enable two docker processes on the server to simulate load balancing1. Install nginx
# rpm -vih http://nginx.org/packages/rhel/7/x86_64/RPMS/nginx-1.16.0-1.el7.ngx.x86_64.rpm
2. Install dockerBinary package download address: https://download.docker.com/linux/static/stable/x86_64/
#tar zxvf docker-18.0 ...
Posted on Tue, 26 May 2020 07:13:17 -0700 by goclimb
Di ~ Di ~ Di ~, production accident, memory leak!
Yesterday afternoon, I suddenly received the message of operation and maintenance that the memory in the production environment of a system in the branch leaked, so I helped to check it.
The first step is to log
The exception log given by the branch is ab ...
Posted on Mon, 18 May 2020 20:57:27 -0700 by Skaara
Are you still using FTP to upload your War package? Here's a simpler and easier way to use. That's maven's cargo plug-in.
Cargo is a set of tools to help users operate Web containers. It can help users realize automatic deployment, and it supports almost all Web containers, such as Tomcat, JBoss, Jetty and Glassfish. Cargo provides Maven inte ...
Posted on Sun, 17 May 2020 08:37:07 -0700 by Haggen
Author: Tianrongxin Alpha Laboratory Original Link: https://mp.weixin.qq.com/s/TJTOh0q0OY-j6msP6XSErg
JNDI is often encountered when exploiting or exploiting vulnerabilities. This paper describes what is JNDI, how RMI is used in JNDI, how LDAP is used, and how JDK 8u191 is used after.
2. Introduction to JNDI
JNDI (The Java Nam ...
Posted on Fri, 15 May 2020 20:41:25 -0700 by rinteractive
The maven dependency of this plug-in is:
The document address of the plug-in is:
Posted on Sun, 03 May 2020 15:55:34 -0700 by Sanoz0r
On Linux systems, when Spring Boot applications are started with java-jar commands, a tomcat (or undertow) temporary directory is generated in the operating system's / tmp directory, where the uploaded files are first converted to temporary files and saved.Because of the files in the temporary/tmp directory, the system executed th ...
Posted on Sun, 26 Apr 2020 10:07:48 -0700 by farel
Wrong understanding of starting sequence
There has been a point before that the application runs in the Servlet container, because from the perspective of the usage of Servlet container and Web application, it really has this feeling.
We start the Servlet container every time, and then start our application. For example, if the Web application ...
Posted on Sun, 26 Apr 2020 02:10:55 -0700 by plautzer
General index: istio from getting started to giving up series
1. Namespace injection sidecar
kubectl label namespaces test istio-injection=enabled
kubectl get ns test --show-labels
2. Resource file preparation
2.1 Deployment and Service
Posted on Wed, 08 Apr 2020 03:23:08 -0700 by Horatiu