Tomcat WEB site deployment and Tomcat multi-instance configuration

1. WEB site deployment 1. Use war package to deploy web site Install JDK and Tomecat JDK is installed in the /usr/local directory, renamed to java, and then sets the environment variables [root@java-tomcat1 local]# vim /etc/profile.d/jdk.sh export JAVA_HOME=/usr/local/java #Specify the java installation directory export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH #Used to specify the path of the java system search […]

Build Tomcat HTTP service under Windows and release external network remote access

Article directory Preface 1. Build local Tomcat web page 1.1 Tomcat installation 1.2 Configure environment variables 1.3 Environment configuration 1.4 Tomcat running test 1.5 Cpolar installation and registration 2. Local web page publishing 2.1.Cpolar cloud settings 2.2 Cpolar local settings 3. Public network access test 4. Conclusion Foreword As a lightweight server, Tomcat not only […]

Java Code Audit-Insecure Configuration-Tomcat Arbitrary File Writing (CVE-2017-12615)

Tomcat arbitrary file writing (CVE-2017-12615) Scope of impact: Apache Tomcat 7.0.0 – 7.0.79 (windows environment) When Tomcat is running on the Windows operating system and the HTTP PUT request method is enabled (for example, the readonly initialization parameter is set to false from the default value), an attacker may be able to upload a carefully […]

[Tomcat Servlet] How to deploy a maven project on idea?

Table of Contents 1.Create project 2.Introduce dependencies 3.Create a directory 4. Write code 5. Packaging program 6. Deployment project 7. Verification procedure What are Tomcat and Servlets? Take idea2019 as an example: 1. Create project 1.1 First create a maven project 1.2 Project name 2.Introduce dependencies 2.1 Enter mvnrepository.com as the URL to enter the […]

The relationship between springboot and tomcat

The reason why tomcat is started when springboot starts <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> Add Web dependencies to Maven, and Spring Boot will help us build a Servlet container. The default is Tomcat Because of the built-in startup container, the application can directly compile the project into an executable jar package through the Maven command and […]

Performance testing – Tomcat monitoring and tuning: Jconsole monitoring

JConsole’s graphical user interface is a monitoring tool that complies with the Java Management Extensions (JMX) specification. JConsole uses the Java Virtual Machine (Java VM) to provide performance and resource consumption information for applications running on the Java platform. In Java Platform, Standard Edition (Java SE Platform) 6, JConsole has been updated to the current […]

Tomcat theory and construction

tomcat: It is an open source web application server. It is different from nginx. nginx mainly handles static pages, so dynamic requests (connecting to database, dynamic pages) are not the strengths of nginx. Dynamic requests will be handed over to tomcat for processing. nginx——Forward dynamic requests—–tomcat tomcat 1. Process dynamic pages (http requests) 2. Process […]

Tomcat deployment and optimization

Introduction to tomcat Introduction to Tomcat Tomcat is developed in Java language. Tomcat server is a free and open source web application server. It is a core project of the Jakarta project of the Apache Software Foundation and is jointly developed by Apache, Sun and other companies and individuals. Become. Tomcat is a lightweight application […]

Tomcat deployment and optimization

1. Tomcat Overview Tomcat is an open source web application server 1. Process dynamic pages (http-based requests) 2. Process back-end requests (mainly referring to calling the database server) 3. Easy to deploy, tomcat will automatically identify the configuration file and deploy and run automatically. 4. Lightweight service software, which can meet the needs of websites […]