Tagged articles

Tomcat

357 articles · Page 2 of 4
Architect
Architect
May 22, 2024 · Backend Development

Replacing Tomcat with Undertow in Spring Boot: Performance and Memory Benefits

This article explains how to replace the default embedded Tomcat container in Spring Boot with Undertow, outlines the configuration steps, compares their performance and memory usage through benchmark results, and concludes that Undertow offers superior throughput for high‑concurrency Java web applications.

TomcatUndertowbackend
0 likes · 5 min read
Replacing Tomcat with Undertow in Spring Boot: Performance and Memory Benefits
Open Source Linux
Open Source Linux
May 21, 2024 · Operations

Set Up CentOS 7 VM, Configure IP, Install JDK, MySQL, Tomcat & Auto-Start

This guide walks through importing a CentOS 7 virtual machine in VMware, configuring network settings (dynamic or static IP), resolving common issues, then installing and configuring JDK 1.8, MySQL 5.7, and Tomcat 8.5, and finally creating systemd services for automatic startup of Java applications.

CentOSJDKMySQL
0 likes · 14 min read
Set Up CentOS 7 VM, Configure IP, Install JDK, MySQL, Tomcat & Auto-Start
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 16, 2024 · Backend Development

Master Spring Boot 3.2.5: Maven Property Expansion & Advanced Config

This guide demonstrates how to leverage Maven resource filtering for automatic property expansion in Spring Boot 3.2.5, configure externalized settings via spring.main and system properties, customize configuration file locations, activate profiles, set parent containers, modify DispatcherServlet paths, enable Tomcat access logs, MBean registry, and generate build and Git metadata.

ConfigurationExternalized ConfigMaven
0 likes · 9 min read
Master Spring Boot 3.2.5: Maven Property Expansion & Advanced Config
Shepherd Advanced Notes
Shepherd Advanced Notes
May 9, 2024 · Backend Development

How Many Simultaneous Requests Can SpringBoot Handle?

The article explains that SpringBoot’s request capacity is governed by Tomcat’s thread pool and connection settings, derives the formula max‑connections + accept‑count, demonstrates it with a small‑scale experiment, and discusses related concurrency pitfalls in singleton beans.

SpringBootThread PoolTomcat
0 likes · 8 min read
How Many Simultaneous Requests Can SpringBoot Handle?
Java Architect Essentials
Java Architect Essentials
Apr 6, 2024 · Backend Development

Comparing Tomcat and Undertow in SpringBoot: Configuration, Performance, and Memory Usage

This article explains how SpringBoot defaults to an embedded Tomcat container, shows how to replace it with Undertow by adding the appropriate dependency, and compares the two servers' performance and memory consumption through benchmark results, concluding that Undertow is preferable for high‑concurrency Java backend applications.

TomcatUndertowWeb Container
0 likes · 5 min read
Comparing Tomcat and Undertow in SpringBoot: Configuration, Performance, and Memory Usage
MaGe Linux Operations
MaGe Linux Operations
Apr 6, 2024 · Backend Development

Boost Tomcat Performance: Essential JVM and Connector Tuning Tips

This guide explains why Tomcat’s default settings are unsuitable for production, then walks through JVM memory tuning, thread‑pool adjustments, connector optimizations, and security hardening to dramatically improve stability and throughput on various server configurations.

JVM TuningTomcatjava
0 likes · 12 min read
Boost Tomcat Performance: Essential JVM and Connector Tuning Tips
MaGe Linux Operations
MaGe Linux Operations
Mar 31, 2024 · Backend Development

Mastering Tomcat Performance: Key Tuning Parameters and Best Practices

This article explains how to optimize Tomcat by adjusting server.xml parameters such as maxThreads, acceptCount, maxConnections, and connectionTimeout, while also covering related Linux kernel settings, file descriptor limits, and JVM options to achieve balanced performance for both CPU‑bound and I/O‑bound workloads.

JVMLinux kernelTomcat
0 likes · 14 min read
Mastering Tomcat Performance: Key Tuning Parameters and Best Practices
Architect
Architect
Feb 25, 2024 · Backend Development

Unlocking Tomcat: A Deep Dive into Its Architecture and Design Patterns

This article dissects Tomcat’s mature architecture, explaining its macro and micro design, startup flow, connector and container components, lifecycle management, class‑loader hierarchy, hot‑reload mechanism, and how developers can apply the demonstrated patterns such as composite, observer, template method, and strategy in real projects.

Class LoaderDesign PatternsTomcat
0 likes · 43 min read
Unlocking Tomcat: A Deep Dive into Its Architecture and Design Patterns
macrozheng
macrozheng
Feb 22, 2024 · Backend Development

How Many Requests Can a Default SpringBoot App Handle? Inside Tomcat & Undertow Thread Pools

This article walks through an interview question about the maximum concurrent requests a default SpringBoot application can process, builds a minimal demo, examines Tomcat and Undertow thread‑pool configurations, and shows how container defaults and parameters like core size, max size, and queue length determine the real limit.

SpringBootThreadPoolTomcat
0 likes · 19 min read
How Many Requests Can a Default SpringBoot App Handle? Inside Tomcat & Undertow Thread Pools
Top Architect
Top Architect
Jan 30, 2024 · Backend Development

Advanced Backend Asynchronous Execution and Configuration Techniques in Spring Boot

This article explains multiple backend optimization methods for Spring Boot, including asynchronous execution with @Async and CompletableFuture, increasing embedded Tomcat connection limits, using @ComponentScan, switching to Undertow, applying BufferedWriter, employing DeferredResult, and intercepting async calls with AsyncHandlerInterceptor, accompanied by concrete code examples.

AsynchronousCompletableFutureSpring Boot
0 likes · 12 min read
Advanced Backend Asynchronous Execution and Configuration Techniques in Spring Boot
Top Architect
Top Architect
Nov 23, 2023 · Backend Development

Understanding Java Class Loading Mechanism and Tomcat’s ClassLoader Design

This article explains the Java class loading mechanism, the parent‑delegation model, how it can be broken, and then details Tomcat’s custom classloader hierarchy—including CommonClassLoader, CatalinaClassLoader, SharedClassLoader, and WebappClassLoader—showing why Tomcat deviates from the standard delegation model.

Class LoadingParent DelegationTomcat
0 likes · 15 min read
Understanding Java Class Loading Mechanism and Tomcat’s ClassLoader Design
Java Architect Essentials
Java Architect Essentials
Nov 9, 2023 · Backend Development

Why Does My Spring Boot App Behave Differently as JAR vs WAR? Understanding Embedded and External Tomcat

This article explains why a Spring Boot application runs with the configured port when packaged as a JAR using the embedded Tomcat, but switches to Tomcat's default port and context path when deployed as a WAR, and provides step‑by‑step instructions to package and deploy both formats along with historical context and technical differences.

MavenPackagingSpring Boot
0 likes · 14 min read
Why Does My Spring Boot App Behave Differently as JAR vs WAR? Understanding Embedded and External Tomcat
Sanyou's Java Diary
Sanyou's Java Diary
Nov 2, 2023 · Backend Development

How Many Requests Can a Default SpringBoot App Handle? Uncover Tomcat & Undertow Limits

This article explores how many concurrent requests a SpringBoot application can process with default settings, demonstrating a hands‑on demo, analyzing Tomcat’s thread‑pool defaults, comparing Undertow behavior, and revealing how configuration parameters like core threads, max threads, queue size, and connection limits affect throughput.

SpringBootThreadPoolTomcat
0 likes · 18 min read
How Many Requests Can a Default SpringBoot App Handle? Uncover Tomcat & Undertow Limits
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 11, 2023 · Backend Development

Does Spring Boot’s connectionTimeout Affect Request Time? The Surprising Truth

This article demonstrates how Spring Boot’s connectionTimeout setting influences server‑client connections, using three experiments—controller sleep, HttpURLConnection requests, and raw socket communication—to reveal that the timeout only terminates idle client connections, not the duration of request processing.

HTTPSocketSpring Boot
0 likes · 4 min read
Does Spring Boot’s connectionTimeout Affect Request Time? The Surprising Truth
MaGe Linux Operations
MaGe Linux Operations
Sep 15, 2023 · Backend Development

Understanding Tomcat’s Startup Process: From Bootstrap to Lifecycle

This article explains how Tomcat starts by running the startup script, invoking the BootStrap main method, initializing Catalina, loading configuration, and managing component lifecycles through the Lifecycle interface, while also detailing default implementations, endpoint types, and protocol handlers.

LifecycleServletTomcat
0 likes · 5 min read
Understanding Tomcat’s Startup Process: From Bootstrap to Lifecycle
Java Architect Essentials
Java Architect Essentials
Sep 6, 2023 · Backend Development

Understanding Spring Boot 2.7.10’s Embedded Tomcat: Defaults, Thread Pools, and Connection Limits

This article examines Spring Boot 2.7.10’s embedded Tomcat configuration, detailing default connection queue sizes, thread pool parameters, key Tomcat settings such as AcceptCount and MaxConnections, internal thread components, and practical testing results that reveal how connection limits affect client‑server handshakes.

Connection ManagementEmbedded ServerSpring Boot
0 likes · 15 min read
Understanding Spring Boot 2.7.10’s Embedded Tomcat: Defaults, Thread Pools, and Connection Limits
Top Architect
Top Architect
Sep 1, 2023 · Backend Development

Differences Between JAR and WAR Packages and How to Build Spring Boot Projects as JAR or WAR

This article explains the differences between JAR and WAR files, why Spring Boot runs with an embedded Tomcat when packaged as a JAR, how deployment changes when using an external Tomcat, and provides step‑by‑step instructions with Maven configurations to build Spring Boot applications as either JAR or WAR packages.

MavenPackagingSpring Boot
0 likes · 14 min read
Differences Between JAR and WAR Packages and How to Build Spring Boot Projects as JAR or WAR
Java High-Performance Architecture
Java High-Performance Architecture
Aug 31, 2023 · Backend Development

Why Tomcat Breaks Java’s Parent Delegation Model: Inside Its Class Loader Design

This article reviews Java’s default class loading mechanism, explains the parent‑delegation model, then details how Tomcat’s custom class loaders (Common, Catalina, Shared, Webapp, Jasper) intentionally deviate from that model to achieve isolation, versioning, and hot‑swap capabilities for web applications.

Class LoaderJVMParent Delegation
0 likes · 15 min read
Why Tomcat Breaks Java’s Parent Delegation Model: Inside Its Class Loader Design
macrozheng
macrozheng
Aug 25, 2023 · Backend Development

How Many Requests Can a Default SpringBoot App Handle? Uncover Tomcat & Undertow Thread Pool Secrets

This article explores the interview question of how many concurrent requests a SpringBoot project can process by building a minimal demo, measuring Tomcat and Undertow thread pool limits, analyzing default configurations, and showing how container settings and annotations like @Async affect the actual request capacity.

SpringBootThreadPoolTomcat
0 likes · 19 min read
How Many Requests Can a Default SpringBoot App Handle? Uncover Tomcat & Undertow Thread Pool Secrets
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 20, 2023 · Backend Development

How Spring Boot Registers Custom Error Pages with Tomcat

This article explains how Spring Boot 2.4.12 configures error handling, from default HTML/JSON responses based on the Accept header to the internal auto‑configuration that registers custom error pages in the embedded Tomcat container using BeanPostProcessors and the BasicErrorController.

Exception ManagementSpring BootTomcat
0 likes · 10 min read
How Spring Boot Registers Custom Error Pages with Tomcat
Java Interview Crash Guide
Java Interview Crash Guide
Aug 17, 2023 · Backend Development

Boost Your Java Development: Essential IntelliJ IDEA Settings & Tips

This guide compiles a comprehensive set of IntelliJ IDEA configurations and shortcuts—including SVN change indicators, multi‑project windows, Tomcat UTF‑8 fixes, import settings, compilation speed tweaks, global encoding, serialVersionUID generation, Maven/Tomcat setup, file exclusion, language injection, and quote wrapping—to streamline Java backend development.

IDE configurationIntelliJ IDEAMaven
0 likes · 6 min read
Boost Your Java Development: Essential IntelliJ IDEA Settings & Tips
Selected Java Interview Questions
Selected Java Interview Questions
Aug 7, 2023 · Backend Development

Understanding Java Class Loading, the Parent Delegation Model, and Tomcat’s Custom ClassLoaders

This article reviews Java’s default class‑loading mechanism, explains the parent‑delegation model, discusses how it can be broken, and details Tomcat’s custom class‑loader architecture that intentionally deviates from the standard delegation to achieve web‑application isolation and hot‑swap capabilities.

ClassLoadingTomcatbackend development
0 likes · 13 min read
Understanding Java Class Loading, the Parent Delegation Model, and Tomcat’s Custom ClassLoaders
Java Backend Technology
Java Backend Technology
Jul 11, 2023 · Backend Development

Why kill -9 Can Corrupt Your Spring Boot Service and How to Shut It Down Gracefully

This article explains the dangers of using the Linux kill -9 command on Spring Boot applications, illustrates data loss scenarios, and provides multiple graceful shutdown methods—including SIGTERM, Spring's ConfigurableApplicationContext, Actuator endpoints, and custom Tomcat shutdown configurations—complete with code examples and best‑practice tips.

ActuatorLinux killPreDestroy
0 likes · 21 min read
Why kill -9 Can Corrupt Your Spring Boot Service and How to Shut It Down Gracefully
Selected Java Interview Questions
Selected Java Interview Questions
Jul 5, 2023 · Backend Development

IntelliJ IDEA Tips: SVN Settings, Tomcat Encoding, Compilation Options, Code Templates, and More

This article provides a comprehensive collection of IntelliJ IDEA configuration tips covering SVN change visibility, opening projects in new windows, fixing Tomcat Chinese character encoding, adjusting import display, speeding up compilation, setting global file encodings, generating serialVersionUID, customizing code templates, and various other IDE shortcuts and settings.

IDE settingsIntelliJ IDEAMaven
0 likes · 7 min read
IntelliJ IDEA Tips: SVN Settings, Tomcat Encoding, Compilation Options, Code Templates, and More
Java Backend Technology
Java Backend Technology
Jun 9, 2023 · Backend Development

Why Switch to Undertow? Boost SpringBoot Performance Over Tomcat

This article explains how to replace SpringBoot's default embedded Tomcat with the high‑performance Undertow container, compares their architectures, presents benchmark results on QPS and memory usage, and shows why Undertow is the better choice for high‑concurrency Java web applications.

SpringBootTomcatUndertow
0 likes · 6 min read
Why Switch to Undertow? Boost SpringBoot Performance Over Tomcat
Code Ape Tech Column
Code Ape Tech Column
May 31, 2023 · Backend Development

Tomcat Performance Tuning Guide: Core Components and Key Parameters

This article explains Tomcat's component architecture, describes the three critical parameters (maxThreads, maxConnections, acceptCount) that affect request handling, and provides practical tuning recommendations to improve backend performance without additional hardware costs.

ConnectorServer configurationThread Pool
0 likes · 11 min read
Tomcat Performance Tuning Guide: Core Components and Key Parameters
Java High-Performance Architecture
Java High-Performance Architecture
May 6, 2023 · Backend Development

Unveiling Tomcat’s Architecture: From Servlet Spec to Core Components

This article explains the servlet specification, core servlet APIs, and how Tomcat implements them, detailing the roles of ServletConfig, ServletContext, ServletRequest, and ServletResponse, and walks through Tomcat’s internal architecture, including server.xml configuration, component hierarchy, and the interaction of Server, Service, Engine, Host, and Context.

ServletTomcatjava
0 likes · 11 min read
Unveiling Tomcat’s Architecture: From Servlet Spec to Core Components
vivo Internet Technology
vivo Internet Technology
Apr 19, 2023 · Backend Development

Investigation of Midnight Interface Timeout in Vivo E‑commerce Activity System

The article details how a midnight interface timeout in Vivo’s e‑commerce activity system was traced to a logging bottleneck: a synchronous Log4j call blocked all threads while a cron‑driven log‑rotation script copied a 2.6 GB file, and the issue was resolved by switching to asynchronous logging with a non‑blocking appender.

MonitoringShell scriptTomcat
0 likes · 17 min read
Investigation of Midnight Interface Timeout in Vivo E‑commerce Activity System
Java Architect Essentials
Java Architect Essentials
Mar 27, 2023 · Backend Development

Diagnosing and Solving a 100 ms Latency Issue in Spring Boot's Embedded Tomcat Using Arthas

This article walks through the step‑by‑step investigation of an unexpected ~100 ms latency in a Spring Boot channel service, using network checks, curl timing, and the Arthas Java diagnostic tool to pinpoint a Tomcat‑embed bug caused by Swagger jars, and then shows how upgrading Tomcat or Spring Boot resolves the problem.

ArthasSpring BootTomcat
0 likes · 14 min read
Diagnosing and Solving a 100 ms Latency Issue in Spring Boot's Embedded Tomcat Using Arthas
Top Architect
Top Architect
Feb 22, 2023 · Backend Development

Resolving HTTPS Redirect and Session Consistency Issues with Nginx, Docker, and Memcached

This article explains why an Nginx reverse‑proxy configuration that proxies HTTPS requests to a backend server causes the browser URL to change, how to fix the redirect by using HTTPS in the proxy, and how to achieve session consistency across multiple Tomcat instances by deploying Memcached with Docker and adjusting Tomcat’s session manager.

DockerHTTPSLoad Balancing
0 likes · 8 min read
Resolving HTTPS Redirect and Session Consistency Issues with Nginx, Docker, and Memcached
Selected Java Interview Questions
Selected Java Interview Questions
Feb 20, 2023 · Backend Development

Understanding the Difference Between JAR and WAR Packages in Spring Boot and How to Build Them

This article explains why a Spring Boot application behaves differently when run as a JAR versus deployed as a WAR, outlines the historical context of servlet containers, compares JAR and WAR formats, and provides step‑by‑step Maven commands and pom.xml modifications for packaging both types.

MavenPackagingSpring Boot
0 likes · 13 min read
Understanding the Difference Between JAR and WAR Packages in Spring Boot and How to Build Them
Java Architect Essentials
Java Architect Essentials
Dec 28, 2022 · Backend Development

Mastering Asynchronous Execution in Spring Boot: An In‑Depth Guide

This article provides a comprehensive guide to implementing asynchronous processing in Spring Boot, covering annotation‑based @Async, CompletableFuture patterns, WebAsyncTask, DeferredResult, custom thread pools, Tomcat tuning, component scanning, and switching to Undertow, with complete code examples and configuration details.

AsynchronousCompletableFutureSpring Boot
0 likes · 12 min read
Mastering Asynchronous Execution in Spring Boot: An In‑Depth Guide
php Courses
php Courses
Dec 8, 2022 · Backend Development

Session Sharing Solutions in Distributed Environments: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie

To prevent repeated logins in distributed microservice systems, this article explains four session‑sharing solutions—Nginx ip_hash load balancing, Tomcat session replication, Redis‑based session caching, and cookie‑based storage—detailing their principles, configuration examples, and advantages and disadvantages.

NginxTomcatdistributed systems
0 likes · 5 min read
Session Sharing Solutions in Distributed Environments: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie
Liangxu Linux
Liangxu Linux
Dec 7, 2022 · Operations

Master systemd: From Basics to Real-World Service Management on Linux

Learn how systemd replaces traditional init on modern Linux, its key features, command syntax, unit file structure, and step-by-step hands-on examples that show how to create and control systemd services for Nginx, Tomcat, and custom Java JAR applications using systemctl.

LinuxNginxTomcat
0 likes · 9 min read
Master systemd: From Basics to Real-World Service Management on Linux
Liangxu Linux
Liangxu Linux
Nov 27, 2022 · Operations

Master systemd: Write unit files and control Nginx, Tomcat, and Java services

This guide explains what systemd is, its key advantages over traditional init, the basic systemctl syntax, how unit files are structured, and provides step‑by‑step examples for creating systemd services to manage Nginx, Tomcat, and a custom Java JAR application on CentOS 7 and similar Linux distributions.

LinuxNginxSystemd
0 likes · 10 min read
Master systemd: Write unit files and control Nginx, Tomcat, and Java services
dbaplus Community
dbaplus Community
Oct 25, 2022 · Operations

How a Government System’s Week‑Long Outage Exposed Critical Backend and Load‑Balancing Flaws

A government information system suffered a week of instability, including service deadlocks, Tomcat memory overflows, and load‑balancing failures, prompting a deep forensic analysis that uncovered database lock‑ups, faulty front‑end loops, inadequate monitoring, and misconfigured logging, leading to concrete remediation steps and lessons for future reliability.

Load BalancingOperationsTomcat
0 likes · 21 min read
How a Government System’s Week‑Long Outage Exposed Critical Backend and Load‑Balancing Flaws
Open Source Linux
Open Source Linux
Oct 7, 2022 · Backend Development

How to Deploy Your Own Website: From Domain Registration to Server Setup

This guide walks beginners through the complete process of publishing a website online, covering domain registration and ICP filing, DNS configuration, selecting and configuring a cloud server, installing Java and Tomcat, and finally uploading the site source files via FTP.

LinuxServer configurationTomcat
0 likes · 10 min read
How to Deploy Your Own Website: From Domain Registration to Server Setup
Code Ape Tech Column
Code Ape Tech Column
Sep 8, 2022 · Backend Development

Tomcat Performance Tuning: Core Components and Key Parameters

This article explains Tomcat's component architecture, describes the request‑processing flow, and provides practical guidance on tuning the three critical parameters—maxThreads, maxConnections, and acceptCount—along with additional settings to improve backend service performance without additional hardware.

Server configurationThread PoolTomcat
0 likes · 11 min read
Tomcat Performance Tuning: Core Components and Key Parameters
ITPUB
ITPUB
Sep 4, 2022 · Backend Development

Inside Tomcat: Architecture, Connectors, Containers, and Class Loaders Explained

This article explores Tomcat’s mature architecture, detailing its macro and micro design, the roles of connectors, containers, lifecycle management, class loaders, and the design patterns that enable modularity, extensibility, and hot‑reloading, while offering practical tips for reading and applying its source code.

Class LoaderDesign PatternsTomcat
0 likes · 42 min read
Inside Tomcat: Architecture, Connectors, Containers, and Class Loaders Explained
Code Ape Tech Column
Code Ape Tech Column
Aug 29, 2022 · Backend Development

Seven Common Spring Boot Performance Optimization Techniques

This article presents seven practical Spring Boot performance optimization methods—including asynchronous execution, increasing embedded Tomcat connection limits, component scanning, switching to Undertow, using BufferedWriter, DeferredResult, and AsyncHandlerInterceptor—each illustrated with code samples and explanations for improving Java backend applications.

AsynchronousSpring BootTomcat
0 likes · 12 min read
Seven Common Spring Boot Performance Optimization Techniques
Su San Talks Tech
Su San Talks Tech
Aug 1, 2022 · Backend Development

Master Tomcat Performance: Key Components and Tuning Tips for Max Throughput

This article explains Tomcat’s internal component architecture, walks through the request‑processing flow, and details three crucial configuration parameters—maxThreads, maxConnections, and acceptCount—offering practical formulas and tuning guidelines to improve throughput without adding hardware.

ConnectorServer configurationThread Pool
0 likes · 12 min read
Master Tomcat Performance: Key Components and Tuning Tips for Max Throughput
Architect's Tech Stack
Architect's Tech Stack
Jul 6, 2022 · Backend Development

Replacing Tomcat with Undertow in Spring Boot: Performance and Memory Comparison

This article explains how to replace Spring Boot's default embedded Tomcat with Undertow, outlines the configuration steps, compares their performance and memory usage through benchmark results, and concludes that Undertow offers superior throughput and lower resource consumption for high‑concurrency Java web applications.

SpringBootTomcatUndertow
0 likes · 5 min read
Replacing Tomcat with Undertow in Spring Boot: Performance and Memory Comparison
Top Architect
Top Architect
Jul 5, 2022 · Backend Development

Advanced Asynchronous Execution and Performance Tuning in Spring Boot

This article explains multiple Spring Boot asynchronous execution techniques—such as @Async, CompletableFuture, WebAsyncTask, DeferredResult, and AsyncHandlerInterceptor—provides complete Java code examples, and discusses performance optimizations like increasing Tomcat connection limits, switching to Undertow, using ComponentScan, and buffered I/O.

AsynchronousSpring BootTomcat
0 likes · 9 min read
Advanced Asynchronous Execution and Performance Tuning in Spring Boot
Architecture Digest
Architecture Digest
Jun 5, 2022 · Information Security

Root Cause Analysis of Cross-Origin Request Errors Triggered by WAF XSS Filtering

The article details a step‑by‑step investigation of a form‑submission cross‑origin error in a front‑back separated system, tracing the HTTP request flow through DNS, Nginx, Tomcat, and finally identifying a WAF XSS rule that blocked a specific moduleExport field, and explains how the issue was resolved by adjusting the WAF configuration.

CORSDebuggingHTTP
0 likes · 12 min read
Root Cause Analysis of Cross-Origin Request Errors Triggered by WAF XSS Filtering
Top Architect
Top Architect
May 29, 2022 · Information Security

Step‑by‑Step Guide to Building a CAS‑Based Single Sign‑On (SSO) System with Server and Client Configuration

This article provides a comprehensive tutorial on implementing Single Sign‑On using the open‑source CAS solution, covering the concepts of SSO and CAS, required development environment, server‑side deployment, client integration with Spring Boot, configuration details, and a complete end‑to‑end testing workflow.

CASMavenSSO
0 likes · 9 min read
Step‑by‑Step Guide to Building a CAS‑Based Single Sign‑On (SSO) System with Server and Client Configuration
Su San Talks Tech
Su San Talks Tech
May 23, 2022 · Backend Development

Unveiling Tomcat’s Architecture: Design Principles, Core Components, and Patterns

Explore Tomcat’s mature architecture, from its connector and container components to class loader hierarchy, revealing how design patterns like composite, observer, and template method shape its modular, extensible system and offering practical insights for mastering Java web server internals.

Backend ArchitectureClass LoaderDesign Patterns
0 likes · 42 min read
Unveiling Tomcat’s Architecture: Design Principles, Core Components, and Patterns
Senior Brother's Insights
Senior Brother's Insights
May 4, 2022 · Backend Development

Inside Tomcat: Architecture, Lifecycle, Connectors, and Asynchronous Processing Explained

This article provides a comprehensive technical overview of Apache Tomcat, covering its role as a Java EE servlet container, internal components such as Server, Service, Connector, and Container, lifecycle management, startup sequence, deployment configuration, JSP engine, connector types, NIO processing, Comet, and asynchronous servlet handling.

AsynchronousConnectorLifecycle
0 likes · 23 min read
Inside Tomcat: Architecture, Lifecycle, Connectors, and Asynchronous Processing Explained
Top Architect
Top Architect
Feb 7, 2022 · Backend Development

Understanding Tomcat: Architecture, Components, Lifecycle, Connectors, and Asynchronous Servlets

This article provides a comprehensive overview of Tomcat, covering its role as a Java web server, internal components such as Server, Service, Connector and Container, lifecycle management, deployment methods, connector implementations (BIO, NIO, APR), Comet support, and asynchronous servlet processing, with code examples for thread handling.

Asynchronous ServletConnectorServlet Container
0 likes · 20 min read
Understanding Tomcat: Architecture, Components, Lifecycle, Connectors, and Asynchronous Servlets
Zhuanzhuan Tech
Zhuanzhuan Tech
Jan 19, 2022 · Backend Development

Resolving Image Upload Timeouts in a SpringBoot Service with Thread‑Pool Tuning and Asynchronous Servlet

The article details how a SpringBoot image‑upload service suffered timeouts due to excessive Full GC and thread‑blockage, and explains the investigation, thread‑pool tuning, and the adoption of asynchronous Servlet (with Tomcat and Spring MVC implementations) to isolate long‑running URL‑download tasks while returning results synchronously.

AsyncServletSpringBootThreadPool
0 likes · 11 min read
Resolving Image Upload Timeouts in a SpringBoot Service with Thread‑Pool Tuning and Asynchronous Servlet
Ops Development Stories
Ops Development Stories
Jan 14, 2022 · Fundamentals

When Does Java Load a Class? Exploring the 7 Stages, Parent Delegation, and Custom ClassLoaders

This article explains the complete Java class loading lifecycle—including loading, verification, preparation, resolution, initialization, usage, and unloading—details the seven scenarios that trigger active loading, illustrates the parent delegation model, and provides code examples for custom and Tomcat class loaders.

Class LoadingClassLoaderCustom ClassLoader
0 likes · 16 min read
When Does Java Load a Class? Exploring the 7 Stages, Parent Delegation, and Custom ClassLoaders
Open Source Linux
Open Source Linux
Dec 9, 2021 · Backend Development

Inside Tomcat: How Java’s Popular Backend Server Works

Tomcat is an open‑source Java web server that implements core Java EE specifications such as Servlets and JSP, and its architecture includes containers, connectors, pipelines, valves, and lifecycle management, with detailed explanations of component roles, startup process, deployment, NIO handling, Comet, and asynchronous servlet support.

ServletTomcatWeb Server
0 likes · 23 min read
Inside Tomcat: How Java’s Popular Backend Server Works
Top Architect
Top Architect
Dec 6, 2021 · Backend Development

Tomcat Architecture Overview: Connectors, Containers, and Lifecycle

This article provides a detailed overview of Tomcat’s backend architecture, explaining its core components such as the server, service, connector, lifecycle management, protocol handler, endpoint, processor, adapter, and container hierarchy, and includes code examples illustrating the request‑response flow.

ServletTomcatjava
0 likes · 8 min read
Tomcat Architecture Overview: Connectors, Containers, and Lifecycle
Selected Java Interview Questions
Selected Java Interview Questions
Nov 15, 2021 · Backend Development

Understanding Java Class Loading, the Parent Delegation Model, and Tomcat’s Custom ClassLoaders

This article reviews Java’s default class loading mechanism and parent‑delegation model, explains how the model can be broken, and details Tomcat’s custom classloader architecture—including Common, Catalina, Shared, Webapp, and JSP loaders—showing why Tomcat deviates from the standard delegation hierarchy.

ClassLoaderParent DelegationTomcat
0 likes · 14 min read
Understanding Java Class Loading, the Parent Delegation Model, and Tomcat’s Custom ClassLoaders
Java Architect Essentials
Java Architect Essentials
Nov 7, 2021 · Backend Development

How to Install and Configure JRebel for Java Web Development (Tomcat)

This guide explains how to install JRebel, a hot‑deployment tool for Java web applications, using either Tomcat startup parameters or the IntelliJ IDEA plugin, and details the necessary VM options, deployment settings, and Maven/Gradle integration to achieve instant code updates without restarting the server.

Hot DeploymentIntelliJ IDEAJRebel
0 likes · 5 min read
How to Install and Configure JRebel for Java Web Development (Tomcat)
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 11, 2021 · Backend Development

How Spring Boot Registers Custom Error Pages with Tomcat

This article explains how Spring Boot registers custom error pages with its embedded Tomcat container, covering default HTML/JSON error responses, the underlying auto‑configuration classes, BeanPostProcessor registration, and the BasicErrorController that serves the default /error endpoint.

Spring BootTomcatbackend development
0 likes · 11 min read
How Spring Boot Registers Custom Error Pages with Tomcat
Open Source Linux
Open Source Linux
Oct 8, 2021 · Backend Development

Tomcat Deep Dive: Java Servlet Container Architecture & Lifecycle

Tomcat is an open‑source Java web server that implements core Java EE specifications such as Servlets and JSPs, and its architecture comprises containers like Server, Service, Connector, and Catalina, each with components (Engine, Host, Context, Wrapper) that manage lifecycle stages, request processing pipelines, valves, connectors (BIO/NIO/APR), JSP compilation, and asynchronous servlet handling.

Asynchronous ServletConnectorJSP
0 likes · 18 min read
Tomcat Deep Dive: Java Servlet Container Architecture & Lifecycle
MaGe Linux Operations
MaGe Linux Operations
Oct 2, 2021 · Backend Development

Inside Tomcat: Architecture, Lifecycle, Connectors, and Advanced Features

This article provides a comprehensive overview of Tomcat, covering its role as an open‑source Java web server, the internal components such as Server, Service, Connector, and Container, lifecycle management, servlet and JSP processing, connector types, pipeline/valve mechanisms, Comet push, and asynchronous servlet support.

ConnectorJSPServlet
0 likes · 19 min read
Inside Tomcat: Architecture, Lifecycle, Connectors, and Advanced Features
IT Architects Alliance
IT Architects Alliance
Sep 22, 2021 · Operations

Resource Isolation Strategies in Distributed Systems

The article explains why resource isolation is essential for distributed architectures, describes common isolation methods such as thread, process, cluster, data, static and crawler isolation, and provides concrete examples and code snippets for Netty, Dubbo, Tomcat, and Hystrix to illustrate practical implementations.

DubboNettyTomcat
0 likes · 12 min read
Resource Isolation Strategies in Distributed Systems
Laravel Tech Community
Laravel Tech Community
Sep 22, 2021 · Backend Development

Session Sharing Solutions in Distributed Environments: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie

The article explains why session sharing is critical in micro‑service and distributed deployments and presents four backend solutions—Nginx ip_hash load balancing, Tomcat session replication, Redis‑based centralized session storage, and cookie‑based sessions—detailing their implementations, advantages, and drawbacks.

Load BalancingNginxRedis
0 likes · 5 min read
Session Sharing Solutions in Distributed Environments: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie
Top Architect
Top Architect
Sep 20, 2021 · Backend Development

Session Sharing Solutions in Distributed Systems: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie

This article explains why session sharing is required in micro‑service and distributed environments and presents four practical solutions—Nginx ip_hash load balancing, Tomcat session replication, Redis centralized session cache, and cookie‑based sharing—detailing their implementations, code snippets, and pros and cons.

Load BalancingTomcatdistributed systems
0 likes · 6 min read
Session Sharing Solutions in Distributed Systems: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie
IT Architects Alliance
IT Architects Alliance
Sep 15, 2021 · Backend Development

Inside Tomcat: Unveiling Its Architecture, Lifecycle, and Connector Mechanics

This article provides a comprehensive technical deep‑dive into Apache Tomcat, covering its role as a Java EE web server, core components such as Server, Service, Connector, Container, the detailed lifecycle management, servlet and JSP processing, various connector implementations, NIO handling, Comet push technology, and asynchronous servlet support.

CometConnectorJSP
0 likes · 21 min read
Inside Tomcat: Unveiling Its Architecture, Lifecycle, and Connector Mechanics
Top Architect
Top Architect
Sep 13, 2021 · Backend Development

In‑Depth Overview of Tomcat Architecture, Components, and Lifecycle

This article provides a comprehensive technical guide to Apache Tomcat, covering its servlet container architecture, core components such as Server, Service, Engine, Host, and Context, lifecycle management, request processing pipeline, connector types, JSP handling, asynchronous servlet support, and related code examples.

LifecycleServletTomcat
0 likes · 19 min read
In‑Depth Overview of Tomcat Architecture, Components, and Lifecycle
Open Source Linux
Open Source Linux
Sep 5, 2021 · Information Security

How to Exploit Critical Tomcat Vulnerabilities (CVE‑2017‑12615, CVE‑2020‑1938, CVE‑2019‑0232) Step‑by‑Step

This guide introduces Apache Tomcat, explains the mechanics of several high‑severity CVEs—including arbitrary file write, AJP file inclusion, and CGI RCE—provides detailed reproduction steps with Docker, command‑line payloads, and code snippets, and demonstrates how to gain remote shells via weak credentials and war deployment.

CVE-2017-12615CVE-2019-0232CVE-2020-1938
0 likes · 15 min read
How to Exploit Critical Tomcat Vulnerabilities (CVE‑2017‑12615, CVE‑2020‑1938, CVE‑2019‑0232) Step‑by‑Step
JavaEdge
JavaEdge
Aug 18, 2021 · Backend Development

Why Tomcat’s Thread Pool Works Differently from the JDK’s

This article explains how Tomcat customizes Java’s ThreadPoolExecutor for I/O‑intensive web workloads, detailing the key parameters, the custom task queue and thread factory, the overridden execute logic, and the role of the submittedCount variable in preventing thread starvation under high concurrency.

JDKThread PoolTomcat
0 likes · 7 min read
Why Tomcat’s Thread Pool Works Differently from the JDK’s