Chinese scrambling in Tomcat 8.0.0 response to get request

Problem Description: When the page code UTF-8 has been specified in the application filter, the Chinese in the request sent by GET mode is still recognized as scrambling code, while the Chinese in the request sent by POST mode is normal. Reason: Tomcat has a problem in parsing parameters passed by two different request modes, which should be ...

Posted by cbullock on Fri, 22 Mar 2019 09:57:53 -0700

An invalid domain [.xxx.com] was specified for this cookie exception resolution

In the project, we need to write cookies to the browser, using Tomcat 8.5. When we write cookies, we set up a domain name such as. xxx.com, but when we write cookies, we throw an exception: An invalid domain [.xxx.com] was specified for this cookie Check that this domain name setting is a legacy format of cookie version 0 Using org. apache. ...

Posted by TomT on Sun, 10 Mar 2019 23:57:25 -0700

Tomcat 8.5 400 error: Invalid character found in the request target. Problem resolution

When the project was recently deployed, because MIS was configured as Tomcat 8.5 server, the Web application was abnormal and HTTP 400 error was reported (Chrome no exception, IE error). The reason for the problem is that the server receiving the request in version 8.5 will not escape the symbol. The reason why Chrome is not abnormal may be th ...

Posted by LTJason on Thu, 14 Feb 2019 13:33:17 -0800

Install JDK and Tomcat under CentOS 64-bit and set up Tomcat boot-up operation steps

The preparatory documents are as follows: 1.CentOS-6.4-x86_64-bin-DVD1.iso 2.jdk-7u67-linux-x64.rpm 3.apache-tomcat-7.0.55.tar.gz The installation steps are as follows: Installation of JDK [root@n1 /]# java -version bash: java: command not found [root@n1 /]# rpm -ivh /soft/jdk-7u67-linux-x64.rpm Preparing... ############# ...

Posted by andylyon87 on Thu, 14 Feb 2019 09:42:18 -0800

Spring Boot Learning 2. Deploy the project as a war package into your tomcat

Spring Boot Learning - 2. Deploy the project as a war package into your tomcat Although Spring Boot has its own tomcat, it also provides many configuration options to configure tomcat, such as port number, access address, etc., many times it may deploy multiple projects under one tomcat. It is necessary to deploy the project as a war package ...

Posted by Pethlehemm on Tue, 12 Feb 2019 08:45:18 -0800

[spring boot][thymeleaf] often reports exceptions because there is no end tag in html-solution

When using thymeleaf as template engine in spring boot, although it meets the decoupling requirement to a large extent, it is often overwhelmed by its strict HTML 5 format (e.g., the need for an end tag). Solution: Change the default value of spring.thymeleaf.mode to strict mode of "HTML5" instead of "LEGACYHTML5" non-str ...

Posted by ivory_kitten on Fri, 08 Feb 2019 19:00:18 -0800

linux redisk: linux+keepalived+lvs+tomcat dual-port load balancing scheme

Let's first feel the keepalived configuration file without reverse proxy if services are provided separately: (ps configuration is not panicky) vim /etc/keepalived/keepalived.conf vrrp_instance VI_1 { state BACKUP interface ens192 virtual_router_id 51 priority 100 advert_int 1 authentication { auth_type PASS ...

Posted by kulikedat on Fri, 08 Feb 2019 06:27:17 -0800

Resolve Caused By:java.Lang.OutOfMemoryError: Unable To Create New Native Thread

Business background Problems arise Solution Business background Three Tomcats are deployed on one server, and the server.xml configuration for each tomcat is as follows, except for inconsistent ports. <Executor name="tomcatThreadPool" namePrefix="wkApi-exec-" maxThreads="1200" minSpareThreads="4 ...

Posted by Transmission94 on Thu, 07 Feb 2019 02:45:16 -0800

Spring Boot - Undertow Container Start

Spring Boot : Undertow   Undertow Undertow is a NIO-based high-performance Web embedded server developed by Red Hat Untertow features: Lightweight: It's a Web server, but unlike traditional Web servers, which have container concept, it consists of two core Jar packages. Loading a Web application can be less than 10MB of memory. ...

Posted by Stryker250 on Sun, 03 Feb 2019 12:03:16 -0800

Tomcat 8 cookie domain validation problem

The error code is as follows Type Exception Report Message An invalid domain [127.0.0.1:8080] was specified for this cookie Description The server encountered an unexpected condition that prevented it from fulfilling the request. Exception java.lang.IllegalArgumentException: An invalid domain [127.0.0.1:8080] was specified ...

Posted by Rollo Tamasi on Sun, 03 Feb 2019 01:51:15 -0800