Separation of dynamic and static state by Nginx+Tomcat

Add group groupadd www Add user WWW: useradd - G www under www group Modify configuration file nginx.conf : user www www; worker_processes 2; events{ worker_connections 1024; } http{ #Set the default type to binary stream default_type application/octet-stream; server_names_hash_bucket_size 128; #Specify the hea ...

Posted on Wed, 01 Jul 2020 11:01:33 -0400 by dinno2

Combination of graphics and text to teach you how to initialize Tomcat and how to run Tomcat in SpringBoot

How to initialize Tomcat in SpringBoot preface The creation of spring boot simplifies our work of creating and running projects. We don't have to package the project into a jar package, then put it into Tomcat and start it again, as in the spring MVC era. We can ignore the packaged operation and tom ...

Posted on Mon, 29 Jun 2020 00:12:31 -0400 by abhi_10_20

Timeout: Pool empty. Unable to fetch a connection in 30 seconds, none available

org.apache.tomcat.jdbc.pool.ConnectionPool View source code private PooledConnection borrowConnection(int wait, String username, String password) throws SQLException { if (isClosed()) { throw new SQLException("Connection pool closed."); } //end if //get the curr ...

Posted on Fri, 26 Jun 2020 03:29:04 -0400 by callmecheez

Docker entry basic command

Article catalog 1, Overview 1. What is Docker 2. Differences between container technology and virtual machine technology 3. Advantages of docker 4. Docker architecture 2, Install Docker 1. When the server has network 2. Configure Alibaba cloud image acceleration 3. When the server has no network ...

Posted on Thu, 25 Jun 2020 01:24:49 -0400 by zipadee

Research on JBOSS file free web shell

Author: wide byte securityOriginal link: https://mp.weixin.qq.com/s/_SQS9B7tkL1H5fMIgPTOKwThis article is the author's contribution. Seebug Paper is looking forward to your sharing. If you use it, you will have a gift! Submission email: paper@seebug.org In the previous articles, I mainly studied the file free web shell of tomcat and weblogic. ...

Posted on Tue, 23 Jun 2020 05:12:50 -0400 by wee493

Spring Boot's "hello world" program

Environmental Science Operating system: Ubuntu 20.04 Development tool: IntelliJ IDEA 2020.1.2 (Community Edition) JDK: ➜ ~ java -version openjdk version "14.0.1" 2020-04-14 OpenJDK Runtime Environment (build 14.0.1+7-Ubuntu-1ubuntu1) OpenJDK 64-Bit Server VM (build 14.0.1+7-Ubuntu-1ubuntu1, mixed ...

Posted on Sat, 20 Jun 2020 23:58:02 -0400 by keegan

Introduction to CAT minimalism (application monitoring platform)

1. Overview Lazy tips: CAT official documents - simplicity It's been written very well. Here's a great way to use direct CV~ CAT(Central Application Tracking) It is a real-time application monitoring platform developed based on Java, which provides a comprehensive real-time monitoring and alarm ...

Posted on Sat, 20 Jun 2020 00:40:37 -0400 by callmubashar

File upload and Tomcat mapping path setting of Spring MVC

File upload and Tomcat mapping path setting of Spring MVC catalog File upload and Tomcat mapping path setting of Spring MVC summary: To configure MultipartResolver: Tomcat configuration Configuration of tomcat deployment in IDEA Controllers and pages: Results: summary: Spring MVC provides ...

Posted on Fri, 19 Jun 2020 01:07:28 -0400 by w4designs

SpringCloud version Hoxton SR5 - Lecture 5: zuul routing, filtering, fault tolerance and fallback, clustering, high availability

Port: SpringCloud version Hoxton SR5 - Lesson 1: Understanding First look at what Zuul can do, or his positioning and role in the project. The last article mainly talks about: Functions and functions are in colloquial, mainly easy to understand. It is recommended to have a look first.   As mention ...

Posted on Thu, 18 Jun 2020 21:06:10 -0400 by PromaneX

Learning notes on knowledge points of HttpServlet

Servlet concept step Principle of execution life cycle Servlet 3.0 annotation configuration The architecture of Servlet GenericServlet: the default null implementation of other methods in the Servlet interface, only the service() method as an abstraction When defining a Servlet class in t ...

Posted on Thu, 11 Jun 2020 02:31:38 -0400 by Duswa