Usage of jvm monitoring tools jps,jstat,jstack,jmap

Jps, jstat, jstack and jmap are commonly used tools to analyze problems encountered by tomcat when analyzing jvm in operation and maintenance.The common problems of tomcat are:  OOM, lock dead, lock contention, Java consumes too much CPU  The above tools can be used for analysis.Fast Entry of Common Analytical Methods in Production:&n ...

Posted by bradleybebad on Tue, 25 Dec 2018 19:18:06 -0800

Building centos+jdk+tomcat_CENTOS in docker environment

Preface (1) Written earlier, since there is little experience in installing jdk+tomcat and other environments in linux or unix-like systems, we chose to install it in the docker container to prevent installation failure and failure to restore the system. (2) We need to download the docker image of the corresponding system, such as cento ...

Posted by AndreGuatemala on Tue, 25 Dec 2018 13:27:06 -0800

Implementation of session server by Nginx reverse proxy + Tomcat+memcached

Written in frontThe previous article explained the type of session for you. Today, this article will lead you to implement a simple session server step by step, mainly to let you understand the working process of session server. Of course, for small and medium-sized websites, this structure is also fully adequate. The main structure of this sec ...

Posted by Svoboda on Sun, 23 Dec 2018 15:09:07 -0800

tomcat Cluster - Integrating Apache Server with mod_JK Connection Mode

I. Preliminary Analysis of Cluster Technology 1. tomcat cluster multi-application servers, sharing pressure and ensuring high availability of services, using tomcat cluster to achieve cluster environment, Manager is responsible for managing session sharing. 2. The web server adopts Apache, which is responsible for load balancing between appl ...

Posted by msandersen on Sat, 22 Dec 2018 10:18:06 -0800

Keepalived+Nginx+Redis+Tomcat for High Availability web Load Balancing

I. System Environment Operating System: CentOS 7 tomcat 8.0.47 Nginx 1.12.2 Redis 4.0.2 192.168.124.128 tomcat1+Nginx+Redis 192.168.124.130 tomcat2 Specific how to install these software, here is no longer introduced, please go online to find information. After installation, modify the port number of tomcat 2. If th ...

Posted by roice on Thu, 20 Dec 2018 17:48:05 -0800

Centos + Tomcat 9 + Let's encrypt Free SSL Upgrade https (Problems encountered)

Upgrade environment: Tomcat works centos6.5 Java1.8 Tomcat9   1. Get Let's Encrypt Free SSL Certificate # Create a new ssl directory under the current directory $ mkdir ssl $ cd ssl # Download letsencrypt from github $ git clone https://github.com/letsencrypt/letsencrypt # Enter the letsencrypt directory $ cd letsencry ...

Posted by hogleg on Thu, 20 Dec 2018 09:03:05 -0800

Resolution of mysql No operations allowed after connection closed connection exception

Spring Boot Multi-data Source Configuration and No Operation Allowed After Connected Closed Connection Anomaly Solution Recently, when the project went online, it encountered a weird bug. Let's start with my project configuration: Spring Booot + Spring MVC + Spring Data JPA + two MySql s That is, my project has multi ...

Posted by jswash on Tue, 18 Dec 2018 19:21:04 -0800

Construction of Tencent Cloud Server (centos 7.4) Nginx+php+mysql+jdk+tomcat environment

Apply for Tencent cloud server, personal real-name certification can be free trial for 15 days. Install Nginx+php+mysql+jdk+tomcat based on CentOS 7.4. Connect cloud services with putty terminals locally and integrate web Environment step 1. Download and install putty. There are many tools in putty, such as putty.exe, which ...

Posted by pspcrazy on Fri, 14 Dec 2018 21:36:03 -0800

From. Net to Java Learning Chapter 5: Spring Boot & Profile & Swagger 2

Spring Boot Configuration File and Multi-environment Configuration Spring Boot uses a global configuration file, application.properties or application.yml, to be placed under the src/main/resources directory or / config of the classpath.Spring Boot's global configuration file is used to modify the configuration values of some default configura ...

Posted by lordzardeck on Fri, 14 Dec 2018 14:27:03 -0800

Windows Server 2008 R2 installs awstats-7.7 to analyze Tomcat logs

Because of the need to record and analyze tomcat's logs, Baidu searched for the software awstats to use, and then made a mistake for two days, recording steps to prevent problems from happening again. Environment: server 2008 r2, project has been running normally on Tomcat 8, ActivePerl-5.24, awstats-7.7 download address onlin ...

Posted by PascalNouma on Wed, 12 Dec 2018 12:33:07 -0800