No way to return error from broken streaming connection?

2021-08-09 Thread Marcin Wisnicki
I have a servlet (it's really a SpringBoot controller but it shouldn't matter?) in Tomcat 9.0.46 that streams responses of unknown size to the browser. I've discovered that if the streaming process fails in the middle of the write, the client will simply get an incomplete file and think it was

Re: More information, Re: Tomcat 8.5.68 failing on takeoff!

2021-08-09 Thread James H. H. Lampert
On 8/9/21 11:33 AM, Mark Thomas wrote: The fix will be in the September releases. Thanks. -- JHHL - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: More information, Re: Tomcat 8.5.68 failing on takeoff!

2021-08-09 Thread Mark Thomas
On August 9, 2021 5:31:41 PM UTC, "James H. H. Lampert" wrote: >On 8/9/21 10:24 AM, Mark Thomas wrote: >> Future versions of Tomcat won't see this issue but if the customer is > >> prepared to update Tomcat to fix this issue then they might as well >just >> update Java (assuming that is indeed

RE: More information, Re: Tomcat 8.5.68 failing on takeoff!

2021-08-09 Thread John.E.Gregg
> -Original Message- > From: James H. H. Lampert > Sent: Monday, August 09, 2021 12:21 PM > To: users@tomcat.apache.org > Subject: Re: More information, Re: Tomcat 8.5.68 failing on takeoff! > > On 8/6/21 9:17 AM, Konstantin Kolinko wrote: > > > Try to find what *.jar file in your

Re: More information, Re: Tomcat 8.5.68 failing on takeoff!

2021-08-09 Thread James H. H. Lampert
On 8/9/21 10:24 AM, Mark Thomas wrote: Future versions of Tomcat won't see this issue but if the customer is prepared to update Tomcat to fix this issue then they might as well just update Java (assuming that is indeed sufficient to fix this). Given that they currently seem to be happy as

Re: More information, Re: Tomcat 8.5.68 failing on takeoff!

2021-08-09 Thread Mark Thomas
On 09/08/2021 19:21, James H. H. Lampert wrote: On 8/6/21 9:17 AM, Konstantin Kolinko wrote: Try to find what *.jar file in your system contains the above classes. E.g. searching for string "crimson" in *.jar files. That string will be visible in the archive file as it is a name of a

Re: More information, Re: Tomcat 8.5.68 failing on takeoff!

2021-08-09 Thread James H. H. Lampert
On 8/6/21 9:17 AM, Konstantin Kolinko wrote: Try to find what *.jar file in your system contains the above classes. E.g. searching for string "crimson" in *.jar files. That string will be visible in the archive file as it is a name of a directory. I've learned that QShell (a *nix-like shell

Other connection may not see updated date immediately

2021-08-09 Thread W
Hi,I have a web application. It is a java-jsp-tomcat-mysql. It is working, but sometimes, it is slow. For each data update statement, it is not slow: the next jsp page shows promptly. But the next page does not see updated data. I wait a coupe seconds, refresh the page, the updated date shows.