Memory overflow caused by setting maxHttpHeaderSize too large
1, Production crime scene and troubleshooting process
At 22:46:06 p.m. on March 23, the front service hung up and gave an alarm. Check the system log:
You can see the stack overflow.
I guess it's related to a new configuration in the afternoon:
server.maxHttpHeaderSize: 10240000
(roll back the image and resume production...)
Guess ...
Posted by mmitdnn on Mon, 07 Mar 2022 15:31:50 +0100
SpringBoot-21-Mybatis multi data source configuration
SpringBoot-21-Mybatis multiple data sources
As we mentioned earlier, there are two ways to generate Mybatis Code:
Mybatis Genenrator Mybatis code generation Mybtais Plus MyBatisPlus code generation
The JdbcTemplate and spring boot data operation databases were also introduced earlier
JdbcTemplate multi data source configuration Spring ...
Posted by Ree on Mon, 07 Mar 2022 04:53:58 +0100
Element UI simple learning + add, delete, modify and check based on springboot
Element UI simple learning + add, delete, modify and check based on springboot
Sample demonstration
Springngbooy + Vue realizes simple addition, deletion, modification and query (simple separation of front and rear ends)
How to launch our vue ui
Our element ui created here is designed
We are graphical
ui (graphical interface) ...
Posted by Guardian-Mage on Sun, 06 Mar 2022 16:09:34 +0100
Springboot_ Interceptor_ Filter_ monitor
1.maven warehouse
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
2. Filter
The ...
Posted by Lynny on Sun, 06 Mar 2022 11:18:52 +0100
spring boot application - scheduled tasks
I wrote the script of Oracle scheduled task before. At that time, the script was added to the task plan for the Windows server server, but I encountered that the script could not be added to the task plan in practice (I tried all kinds of methods but could not be added). This is what I thought. Can I write a scheduled task to call the script? Y ...
Posted by Daddy on Sun, 06 Mar 2022 11:06:02 +0100
Project 1 online communication Platform-2 Development of communication community registration and login module - 4 Send verification code using Google Kaptcha
Refer to Niuke advanced project tutorial
1. Write Kaptcha configuration class
Environmental preparation
Import kaptcha package. Since there is no package related to spring, you need to configure it into spring
<!-- Registration code configuration-->
<dependency>
<groupId>com.github.penggle</groupId>
...
Posted by quadlo on Sun, 06 Mar 2022 09:36:23 +0100
Community property management system based on java SpringBoot framework
The community property management system is divided into two roles: community owner and community property manager. After logging in to the system, the community owner can complain, maintain and report, view bills, log in and register, etc; After logging into the system, the administrator can manage users, and can manage parking spaces, houses, ...
Posted by Brit on Sun, 06 Mar 2022 03:35:43 +0100
Sentinel integrates Nacos to realize dynamic rule configuration persistence and two-way synchronization
1. Why integrate Nacos
By default, Sentinel configuration rules are stored in memory. After the Sentinel service is re configured, the configuration will show that we realize the persistence of the configuration by integrating third-party middleware, such as using Nacos;
To realize the bidirectional synchronous persistence of Sentinel and ...
Posted by Afser on Sun, 06 Mar 2022 02:46:54 +0100
This article takes you to understand vue's process of creating a background management system (Vue+Element)
I'm a ballad. It's easy to give up, but it must be cool to insist
1 Preface
Based on my own work experience, if you have any unreasonable points, please make complaints about it.
2 Definition
What does the background management system add, delete and modify a page? Is it a bit like that? There is no duplicate definition
3 first contact w ...
Posted by Paul_Bunyan on Sat, 05 Mar 2022 20:42:37 +0100
How to add some custom mechanisms to Spring Boot graceful shutdown
Personal creation Convention: I declare that all articles created are original. If there is any reference to any article, it will be marked out. If there are omissions, you are welcome to criticize. If you find someone plagiarizing this article on the Internet, you are welcome to report it and actively report it to this organization github ware ...
Posted by cmccomas on Sat, 05 Mar 2022 13:16:58 +0100