Deploying multiple projects under Tomcat

Multiple project deployments with the same port number Add: <Context path="/route" reloadable="true" docBase="/home/develop/tomcat-7.0.54/flatrass"/>   <Context path="/route2" reloadable="true" docBase="/home/develop/tomcat-7.0.54/flatrasweats"/>   By visiting: http://127.0.0.1:8080/route  http://127.0.0.1:8080/route2 It ...

Posted on Sat, 18 Jul 2020 11:33:04 -0400 by rahulroy

Deploying multiple projects under Tomcat

Multiple project deployments with the same port number Add: <Context path="/route" reloadable="true" docBase="/home/develop/tomcat-7.0.54/flatrass"/>   <Context path="/route2" reloadable="true" docBase="/home/develop/tomcat-7.0.54/flatrasweats"/>   By visiting: http://127.0.0.1:8080/route  http://127.0.0.1:8080/route2 It ...

Posted on Sat, 18 Jul 2020 11:33:06 -0400 by adamlacombe

Java Server-side CORS Cross-Domain Configuration

Now the web program architecture tends to be more and more front-end and back-end separated, the benefits of front-end and back-end separated, not to mention here.But one of the problems we face is cross-domain.Here is a brief record of the solution on the server side. References and references to relevant parts of this article http://blog ...

Posted on Tue, 14 Jul 2020 10:34:25 -0400 by jonasr

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