Tomcat installation and optimization

Tomcat server is a free open-source Web application server, which belongs to lightweight application server. It is widely used in small and medium-sized systems and concurrent users in many occasions, and is the first choice for developing and testing JSP programs. Generally speaking, Tomcat, like apache or Nginx web servers, has the ability t ...

Posted by Azkoyen on Sun, 12 Jan 2020 05:46:01 -0800

Single machine multi instance configuration of Tomcat

Sometimes you need to deploy multiple Tomcat on a server, and distinguish them through different ports, such as reverse proxy. But I don't want to simply copy tomcat, which is not convenient for future upgrade or management. At this time, I need to configure a single machine with multiple instances o ...

Posted by yurko on Sun, 12 Jan 2020 03:19:57 -0800

Problems caused by improper use of HttpMessageConverter and its principle and configuration

Article directory Two questions HttpMessageConverter function HttpMessageConverter matching rule HttpMessageConverter initialization sequence diagram Custom HttpMessageConverter Solve the problem RestTemplate NPE Text / painquoted Two questions spring boot RestTemplate unexpectedly reports nu ...

Posted by TreeNode on Sat, 11 Jan 2020 06:52:25 -0800

Shiro authority management framework: custom Filter implementation and troubleshooting records

Clear demand When using Shiro, the authentication failure is usually to return an error page or login page to the front-end, especially the back-end system. This mode is particularly used. But now more and more projects tend to use the way of front-end and back-end separation for development. At this time, the front-end needs to respond to the ...

Posted by HairyArse on Tue, 07 Jan 2020 07:15:13 -0800

Integration of the SpringBoot 2.x development case Srping Boot Admin

PrefaceSpring Boot Admin is a visual representation of the endpoint information provided in the Spring Boot Actuator and can send alert messages via mail, Telegram, Hipchat, and so on. IntegrateBe aware that versions must match, otherwise unexpected problems may occur. Srping Boot Admin version 2.0+ or above is recommended for multilingual swi ...

Posted by earl_dc10 on Mon, 06 Jan 2020 10:03:31 -0800

Linux work note 027 -- centos7.3 view the port number occupied by tomcat

JAVA technology exchange QQ group: 170933152  Take a look at the figure below. Execute two commands. First find the pid of tomcat, and then find the port according to the pid   It can be seen as follows: 1. Check the process number of tomcat first ps -ef | grep tomcat* The * sign is followed to view multiple tomcat, such ...

Posted by desmortes on Fri, 03 Jan 2020 06:20:29 -0800

Arthas practice - how to quickly troubleshoot online problems

I will not repeat the installation of Arthas here, but I will use it directly Official website address: https://alibaba.github.io/arthas/ 1. View thread information thread View the current thread information and the thread stack Parameter description Parameter name Parameter description id Thread id [n:] ...

Posted by joel danny on Fri, 03 Jan 2020 02:05:41 -0800

Kotlin - Fundamentals of programming

2.1 programming style 1. Hump nomenclature, without underscores. For example, public class DataBaseUser 2. The first letter of the class should be capitalized class People 3. Method and property names should be lowercase fun hello(){ }   2.2 Kotlin constants and variables Constant: val Variables: var 2.2.1 constant ...

Posted by kushaljutta on Thu, 02 Jan 2020 06:15:01 -0800

Linux basic learning - Docker learning notes

Docker installation 1 Official website The access speed is very slow, Help document 2 domestic Chinese website,Help document [root@qdlinux ~]# yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotat ...

Posted by mzfp2 on Tue, 31 Dec 2019 06:51:52 -0800

Centos7 supervisor installation and configuration

Background # Two, installation 1. Install Python setuptools yum install python-setuptools #After the installation of supervisor, three executors will be generated: Supervisor TD, supervisor CTL and echo supervisor conf. they are the supervisor's daemons service (for receiving process management commands), the clien ...

Posted by ict on Tue, 31 Dec 2019 04:00:30 -0800