Tagged articles

ServerConfiguration

2 articles · Page 1 of 1
Liangxu Linux
Liangxu Linux
Jul 7, 2025 · Operations

How to Configure Multiple Domain Virtual Hosts on Tomcat in CentOS – Step‑by‑Step Guide

This tutorial walks you through setting up separate directories for each site, editing Tomcat's server.xml to add Host entries, configuring docBase and path attributes, restarting the service, testing the domains, and handling firewall and DNS considerations for a production‑ready multi‑domain Tomcat deployment on CentOS.

ServerConfigurationVirtualHost
0 likes · 6 min read
How to Configure Multiple Domain Virtual Hosts on Tomcat in CentOS – Step‑by‑Step Guide
Java Captain
Java Captain
Apr 20, 2025 · Backend Development

Handling Java Collection OutOfMemoryError: Code Optimization and Server Configuration

This article explains why collection‑level OutOfMemoryError occurs in Java services, presents two core solutions—code‑level pagination using Stream and database queries, plus hardware upgrades and cloud server scaling—to prevent heap overflow and improve backend performance.

DatabasePaginationMemoryOptimizationOutOfMemoryError
0 likes · 9 min read
Handling Java Collection OutOfMemoryError: Code Optimization and Server Configuration