Category: Tomcat

How to Install Yunsuo Protection Module for Tomcat

Note: Before installation, you can re-download Tomcat to ensure it is in a normal state prior to installing this program.
Environment: Tomcat + Yunsuo 3.0
1. Download and extract the attachment: Attachment Download https://www.cnop.net/uploadfile/2017/0227/20170227025519812.zip #cd /usr.local/tomcat …

Web.xml Priority in Tomcat vs. Project

When deploying a project, if I don’t configure web.xml in my own project, all request links will follow the web.xml configuration under Tomcat, such as the homepage, timeout settings, etc.
The web.xml in Tomcat is generic; if not configured, it defaults to Tomcat’s web.xml, such as …

How to Fix Tomcat Session Storage Errors with Memcached Configuration

How to Fix Kryo SerializationException in Nginx Tomcat Memcached Session Integration

Recently, while configuring an Nginx + Tomcat + Memcached cluster for session management, I encountered an error when using the more efficient Kryo serialization method.
The error message:

Caused by: com.esotericsoftware.kryo.SerializationException: Unable to deserialize object o …

How to Install and Configure Jenkins on Linux

System Requirements:
Linux (CentOS in my case)
Tomcat or TomEE
Maven (typically already present on most systems)
Java

1. Jenkins Download

Download URL: http://jenkins-ci.org/

2. Installation
I won’t go into Tomcat installation details here. If you’re unfamiliar with it, check out previous articles on this site …

How to Bind Tomcat to an IP Address

Sometimes when Tomcat needs to serve as a backend server, you may need to bind it to a specific internal network IP address. Here’s how to do it.

Open the server.xml configuration file in the configuration directory and add the IP binding connection statement to the normal configuration:
address="192.168.201.59"
As shown below:

Replace the IP above with your own …

How to Fix Tomcat %2F Escape Issue

Tomcat does not process %2F by default, but sometimes you need to handle spaces. Here’s how to modify it:
Go to the tomee/conf directory:
vi catalina.properties
Add the following line at the bottom:
org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true …