Integration of MINA Framework with tomcat

In the previous article, we mainly discussed how the mina framework is used in the main function, but in practice, many web projects are started through tomcat, so it is necessary to integrate the mina framework into tomcat.This article focuses on how mina can be started in tomcat. The framework used by the web is the S ...

Posted by Pioden on Thu, 16 Apr 2020 18:05:14 +0200

Analyzing the process of dubbo service registering to nacos

We talked about the migration of our dubbo service from redis to Nacos registry. After the migration, we found that an exception of ERROR com.alibaba.nacos.client.naming - [CLIENT-BEAT] failed to send beat: would be thrown from time to time. Therefore, with this analysis process, we found out that the exception is our SLB network mapping proble ...

Posted by juhl on Wed, 15 Apr 2020 13:55:37 +0200

Tomcat deploys multiple war packages

1 Background System: Window Server. Installed JDK 1.8-u181 (JRE is enough, but I have the JDK installation package in hand, why not go down) and Tomcat 8.5.53. Once installed, the environment variable is configured with JAVA_HOME, Path.JRE, no JDK. To publish two war packages, MES and ERP. 2 Install Tomcat I used the.exe file installation witho ...

Posted by mike97gt on Wed, 15 Apr 2020 04:05:01 +0200

Nginx series tutorials nginx Solving session consistency

session viscosity Each request is allocated according to the hash result of the access ip, so that each visitor accesses a back-end server, which can solve the session problem. upstream backserver { ip_hash; server 192.168.0.14:88; server 192.168.0.15:80; } But there are disadvantages. There is a single risk. If I have logged in on port 192.1 ...

Posted by djelica on Sun, 12 Apr 2020 03:53:23 +0200

SpringBoot -- implementation of login verification code

Today record the implementation of verification code, hope to help you! First, let's look at the effect of the implementation:   The implementation of this verification code does not use too many plug-ins. If you don't speak much, you can directly use the code. You can take it. The org.apache.commons.lang3.RandomUtils tool class is used in the ...

Posted by mubashir on Thu, 09 Apr 2020 17:41:52 +0200

Apache configures multi domain or multi port mapping

Apache configures multi domain or multi port mapping under CentOS Under CentOS, the root directory of Apache's default website is / var/www/html. If I save a CI project in the html folder by default, and the server's Internet IP is ExampleIp, because the MVC framework is used, Apache needs to enable the redirection function. ...

Posted by chadtimothy23 on Fri, 03 Apr 2020 19:43:37 +0200

Source code interpretation - (3) HBase examples multithreadedclientexample

Address: http://aperise.iteye.com/blog/2372534 Source code interpretation - (1)hbase client source code http://aperise.iteye.com/blog/2372350 Source code interpretation - (2) HBase examples bufferedmutator example http://aperise.iteye.com/blog/2372505 Source code interpretation - (3) HBase examples multithreadedc ...

Posted by point86 on Thu, 02 Apr 2020 02:58:55 +0200

spring boot project packaging

1, Modify packing form Set < packaging > war < / packaging > in pom.xml 2, Remove the embedded tomcat plug-in Find the spring boot starter web dependency node in pom.xml, and add the following code, <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</ ...

Posted by Flinch on Tue, 31 Mar 2020 16:17:18 +0200

Spring boot Kafka advanced version development

Introduce dependency <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> </dependency> <dependency> <groupId>org.springframework.kafka</groupId> <artifactId>spring-kafka</artifactId> <versi ...

Posted by gnetcon on Mon, 30 Mar 2020 21:51:49 +0200

Talk about the JVM receiver plugin of skywalking

order This paper focuses on the JVM receiver plugin of skywalking JVMModuleProvider skywalking-6.6.0/oap-server/server-receiver-plugin/skywalking-jvm-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/jvm/provider/JVMModuleProvider.java public class JVMModuleProvider extends ModuleProvider { @Override public String nam ...

Posted by altergothen on Sat, 21 Mar 2020 15:34:56 +0100