Re: Tomcat 9.0.58 reports an error on shutdown: "Failed to clear soft references..."

2023-01-04 Thread Daniel McCue
Thank you, Mark! This answers my question and offers two (three) good solutions. I appreciate the quick, accurate, and constructive response. Dan On Wed, Jan 4, 2023 at 10:38 AM Mark Thomas wrote: > On 04/01/2023 15:11, Daniel McCue wrote: > > Apache Tomcat/9.0.58 reports an error on shutdown:

Re: Tomcat 9.0.58 reports an error on shutdown: "Failed to clear soft references..."

2023-01-04 Thread Mark Thomas
On 04/01/2023 15:11, Daniel McCue wrote: Apache Tomcat/9.0.58 reports an error on shutdown: "Failed to clear soft references from ObjectStreamClass$Caches for web application [ROOT]" The error is reported for web applications: [ROOT], [host-manager], and [manager] -- the only applications deploy

Tomcat 9.0.58 reports an error on shutdown: "Failed to clear soft references..."

2023-01-04 Thread Daniel McCue
Apache Tomcat/9.0.58 reports an error on shutdown: "Failed to clear soft references from ObjectStreamClass$Caches for web application [ROOT]" The error is reported for web applications: [ROOT], [host-manager], and [manager] -- the only applications deployed in Tomcat. The traceback shows a ClassC

Re: how to block bad request?

2023-01-04 Thread Mark Thomas
On 04/01/2023 04:09, Jason Wee wrote: Hi, Happy new year everyone. Background of my production setup. Using tomcat 10 and in linux environment, using the following accesslog valve %a %{X-Forwarded-For}i %h %l %u %t '%r' %s %b '%{Referer}i' '%{User-Agent}i' %D %S api.access_log.2022-12-20.txt:

Re: Cookie "expires" recent format change vs. Apache HTTP client 4.x

2023-01-04 Thread Mark Thomas
On 04/01/2023 13:23, Pawel Veselov wrote: Hello. Ran into an interesting problem yesterday. After updating Tomcat to 9.0.69 to mitigate a disclosed CVE, some of our tests started failing. Investigation uncovered that the HTTP client stopped accepting "set-cookie" headers because of "expires" at

Cookie "expires" recent format change vs. Apache HTTP client 4.x

2023-01-04 Thread Pawel Veselov
Hello. Ran into an interesting problem yesterday. After updating Tomcat to 9.0.69 to mitigate a disclosed CVE, some of our tests started failing. Investigation uncovered that the HTTP client stopped accepting "set-cookie" headers because of "expires" attribute values. There was a change to the f