The integration of Tomcat 8.0 and Solr 8.0 linux
Reprint: https://blog.csdn.net/alibaba_f / article / details / 89407754
First, create an empty folder to facilitate the management of tomcat, solr and solr data source management;
2. Install tomcat and solr, and wear an empty folder solrHome
3. Copy the files under server → solr webApp → webApp in the so ...
Posted by webtech123 on Mon, 11 Nov 2019 19:27:17 +0100
java041: java or browser do the client to transfer data to each other
First, use java as the server, use browser as the client, let browser link to java Server
Every browser will send a "secret code" first when sending a request. If the other party can match the secret code, it is his own person, and then he will send data This code is our http protocol
Use java as the client and tomcat ...
Posted by very_new_user on Sun, 10 Nov 2019 23:13:33 +0100
java common service cluster building [3] tomcat session sharing
1. Environmental constraints
centos 7 64 bit
nginx-1.5.0
apache-tomcat-8.5.38
2. Preconditions
Complete tomcat cluster building and nginx load balancing https://www.jianshu.com/p/c8aa1a323e3a
Decompress apache-tomcat-8.5.38 twice, and divide it into tomcat8180 and tomcat8280
Modify the ports of server.xml in tomcat8180 to ...
Posted by xwishmasterx on Fri, 08 Nov 2019 23:33:18 +0100
The docker k8s cluster deploys tomcat and uses one image to increase the reusability of the image.
Written in the front, k8s clusters have been set up. Please refer to the previous article for specific steps.
Write the Dockerfile file to create a public image. Each time tomcat deploys, it directly uses the image without build ing the image every time.
#At first, I wanted to use tomcat's official image, but I had no choice but to use diban ...
Posted by thankqwerty on Sat, 02 Nov 2019 15:13:20 +0100
python starts server related services
Because the server room has no cooling facilities, it often needs to be shut down after work in summer, which makes it very troublesome to restart the application frequently. It is convenient to write a service restart script in python.
Environment dependency: Readme.txt
Environmental dependence:
python3
pip3 install paramiko
pip3 insta ...
Posted by phpeanuts on Thu, 31 Oct 2019 19:19:19 +0100
flowable learning exclusive gateway
I. deployment Designer
1. Put flowable-idm.war and flowable-modeler.war into the webapps directory of tomcat, and then start Tomcat.
2. Access in browser http://localhost:8080/flowable-modeler , user name / password: admin/test login, save and export the file after designing the process.
Two code
1 create a process engine and deploy a pro ...
Posted by Enlightened on Wed, 30 Oct 2019 07:56:27 +0100
Tomcat source code analysis 3: the source code analysis of Tomcat startup loading process
Source code analysis of Tomcat start loading process (1)
Today, I will share the source code method to explain the loading process of Tomcat startup. For the architecture of tomcat, please refer to the article "Tomcat source code analysis II: first look at the overall architecture of Tomcat".
First look at the application
In the artic ...
Posted by scrupul0us on Fri, 25 Oct 2019 07:03:57 +0200
Requ. getRequest URL () gets the server address, nginx reverse proxy host configuration, and the use of tomcat embedded in spring boot
tomcat uses the nginx reverse proxy, and the server path obtained becomes the intranet address configured in nginx. If on the same server, it becomes 127.0.0.1 or localhost. What we need is the extranet address. At this time, we need to enable the forwarding request header configuration.
How to enable it? Next, look at the sour ...
Posted by centipede on Tue, 08 Oct 2019 17:21:22 +0200
Note the OOM exception resolution process on a single line
background
Things are like this. This department has maintained an online report query service (referred to as report). For some time, users often feedback to their small partners. Report often fails to open the pages, and after a certain period of time, they recover. Although it is not a trading system, it also causes serious problems to users ...
Posted by jkatcher on Tue, 01 Oct 2019 13:04:51 +0200
IO Evolution of Java Communication-BIO
First, basic concepts
Before sharing BIO, let's figure out what is blocking/non-blocking and what is synchronous/non-synchronous.
1. Blocking/non-blocking: IO read blocking between the kernel (memory) and threads (applications in JVM).
2. Sync ...
Posted by caramba on Tue, 17 Sep 2019 05:35:30 +0200