Re: Chunk size error after upgrading JRE

2023-11-07 Thread Mark Thomas
On 07/11/2023 14:05, Tuukka Ilomäki wrote: We have a very old application running on Tomcat 8.5.90. After upgrading from JRE 8.0.252.09 from AdoptOpenJDK to 8u302b08 from Temurin (both pretty old, I know, also newer JREs exhibit the same issue) we started having NS_ERROR_NET_PARTIAL_TRANSFER i

Chunk size error after upgrading JRE

2023-11-07 Thread Tuukka Ilomäki
We have a very old application running on Tomcat 8.5.90. After upgrading from JRE 8.0.252.09 from AdoptOpenJDK to 8u302b08 from Temurin (both pretty old, I know, also newer JREs exhibit the same issue) we started having NS_ERROR_NET_PARTIAL_TRANSFER in FireFox and ERR_INCOMPLETE_CHUNKED_ENCODING

Re: Are there any known class loader leaks in Tomcat 9?

2023-11-07 Thread Suvendu Sekhar Mondal
Hello William, On Tue, Nov 7, 2023 at 4:29 PM William Crowell wrote: > > Olaf and Sevendu, > > Thank you for your replies. Correct, I sincerely doubt this is a Tomcat > class loading bug. > > I am using Tomcat’s normal class loader (webapp/WAR) to load the classes into > memory, and it is a si

Re: Are there any known class loader leaks in Tomcat 9?

2023-11-07 Thread William Crowell
Olaf and Sevendu, Thank you for your replies. Correct, I sincerely doubt this is a Tomcat class loading bug. I am using Tomcat’s normal class loader (webapp/WAR) to load the classes into memory, and it is a single class loader. I am going to periodically run: jcmd GC.class_stats I am only h

Re:

2023-11-07 Thread Greg Huber
>>  More precisely then, JARs and classes from WEB-INF/lib / WEB-INF/classes won't be cached but non-class resources in those locations will be. This app, the cache starts to complain at approx 18mb. If I calculate the size roughly (right click properties) of all the target/class folders = 21

Re: Are there any known class loader leaks in Tomcat 9?

2023-11-07 Thread Olaf Kock
On 06.11.23 18:55, William Crowell wrote: Good afternoon, I am running Tomcat 9.0.78 with JDK 1.8.0_371 (running with G1GC), and I am loading some very large Java classes into Metaspace. I know this is not good practice, but I inherited this library. These classes have business rules and a

Re:

2023-11-07 Thread Mark Thomas
On 07/11/2023 08:05, Greg Huber wrote: >> The "i.e. everything NOT under WEB-INF/lib or WEB-INF/classes" is irrespective of which resource collection it is in. So JARs >> from PostResources won't be cached. OK sorry missed the not. Although I am mapping in post resources to a maven project w

Re: TLD jar scanning at Tomcat Startup

2023-11-07 Thread Mark Thomas
On 06/11/2023 20:53, charles didonato wrote: Good Evening, Tomcat 9.082 on Windows 11. Tomcat runs as a Windows service. When I start Tomcat and deploy my war file, it hangs at the following in the Catalina Log: 06-Nov-2023 15:21:59.819 INFO [main] org.apache.jasper.servlet.TldScanner.scanJa

Re:

2023-11-07 Thread Greg Huber
>> The "i.e. everything NOT under WEB-INF/lib or WEB-INF/classes" is irrespective of which resource collection it is in. So JARs >> from PostResources won't be cached. OK sorry missed the not. Although I am mapping in post resources to a maven project which has a resources folder that ends up