Solution to Chinese garbled characters in Tomcat application logs
Problem
Sometimes the output logs in Tomcat are garbled characters in Chinese, including garbled characters in the console window and output log files.
Solution
JDK reference settings
Add "-Dfile. encoding = UTF8-Dsun. jnu. encoding = UTF8" to the Java reference parameter"
Add the above parameters to the JAVA_OPTS variable in Catalina. sh, restart Tomcat, and OK.
Load Balancing between Apache and multiple Tomcat clusters in Linux
Nginx Tomcat Cluster load balancing solution notes
Instance details Tomcat component installation + Nginx reverse proxy Tomcat + Apache use mod_jk and mod_proxy Reverse Proxy and load balancing
Deploy a log server using Rsyslog + LogAnalyzer + MySQL in CentOS 6.5
Build an Apache + Tomcat environment (JK deployment process)
Tomcat details: click here
Tomcat: click here
This article permanently updates the link address: