Java and Python automatically monitor tomcat and start and close tomcat in Windows environment

Background: During the Spring Festival, the server always suddenly disconnects the database link and always needs to restart tomcat manually. This is really a hard job. I can't solve the problem on the database. I simply write something to do the restart work of regular detection. Server environment: Windows 2003 service tomcat version: tomca ...

Posted on Thu, 20 Dec 2018 03:45:04 -0800 by woodsonoversoul

Integration of spring cloud cloud service architecture - HongHu commonservice-eureka project construction process

Now we build the following for the eureka project of HongHu cloud. The whole process of building is very simple. I will record every step of the process. I hope it can help you:1. Create a maven project named particle-common-eureka and inherit particle-commonservice. The specific pom.xml configuration file is as follows:<?xml version="1 ...

Posted on Wed, 19 Dec 2018 22:18:05 -0800 by FarhanKhalaf

11.28-31 Restricts a directory from parsing php, user_agent, php-related configuration

Access Control - Prohibit php parsing. note prohibits parsing PHP under a directory, which is very useful. When we do website security, this is used a lot. For example, some directories can upload files. In order to avoid the Trojan horse of uploaded files, we prohibit access under this directory to parse PHP. 1. Disable parsing PHP first < ...

Posted on Wed, 19 Dec 2018 03:57:04 -0800 by mohson

Spring Boot and Kotlin Timing Tasks

In writing Spring Boot applications, you will encounter such scenarios as: you need to send some messages, e-mails and other operations on a regular basis, or you may regularly check and monitor some signs, parameters and so on. Create timed tasks Writing timing tasks in Spring Boot is very simple. Here is an example of how to create timing tas ...

Posted on Tue, 18 Dec 2018 20:12:04 -0800 by Stickdragon

Using Docker (Mac) to Build Nginx/Openresty-Kafka-kafka Manager

This article defaults that the reader already knows about Docker and knows the advantages of using Docker for deployment. 1. Install Docker (Mac) Official website: https://docs.docker.com/docker-for-mac/install/ 1.1 Download Docker for Mac Address: https://store.docker.com/editions/community/docker-ce-desktop-mac After download ...

Posted on Mon, 17 Dec 2018 16:33:04 -0800 by zysac

Spring Boot Rapid Development Tool: Spring Boot CLI

Spring Boot CLI (Command Line Interface) is a command line tool that you can use to quickly build Spring prototype applications. With Spring Boot CLI, we can quickly build Spring Boot applications by writing Groovy scripts and run them on the command line. Let's learn how to install and use Spring Boot CLI. Install Spring Boot CLI ...

Posted on Sat, 15 Dec 2018 12:18:03 -0800 by Dynamis

Apache Hadoop 2.8 Completely Distributed Cluster Building Super Detailed Process to Achieve High Reliability of NameNode HA and Resource Manager HA

Recently, Apache Hadoop distributed cluster has been built on our laptop, which uses the latest stable version 2.8 and configures the high availability of HA of NameNode and ResourceManager to facilitate the daily research and testing of Hadoop. The detailed construction process is as follows: 1. Install docker and create docker container to b ...

Posted on Sat, 15 Dec 2018 03:57:03 -0800 by hansman

CentOS 7 Linux installs Tomcat 8 - Start multiple service instances with the same package (how about zgbn)

CentOS 7 Linux installs Tomcat 8 - Start multiple service instances with the same package (how about zgbn) This article mainly introduces the same Tomcat package to start multiple service instances, although in many cases some programmers feel bored to do so, but for me who will save disk space very much, this method is still very good, and t ...

Posted on Fri, 14 Dec 2018 12:09:04 -0800 by chuckym7

Servlet 3.0 + spring mvc5 + log4j2 correct open posture (WebLookUp)

Preface The log components of the java community which occupy a larger market share are log4j 1. * to logback, and then to the upgraded version of log4j 2. * after integration. It is said that the performance of log4j 2 is the most NB after testing by netizens. So I started to integrate the log4j2 framework into my Spring mvc5 project. For the ...

Posted on Fri, 14 Dec 2018 00:24:07 -0800 by 1bigbear

[Spring Security OAuth2 Notebook Series] - App Authentication Framework - Reconstructing Social Login

Reconstructing Social Login The third party login in app is not the same as in browser. Generally, it is through calling sdk to guide the third party app application to login and return. Browser mode There may be two modes. Simplified mode As shown in the figure above, once we get openId, we can login with openid as long ...

Posted on Thu, 13 Dec 2018 20:21:16 -0800 by The Jackel