Re: IndexOutOfBoundsException at getHeader with tomcat9.0.87

2024-10-22 Thread shanghe chen
Sorry the link is https://github.com/apache/tomcat/pull/551 it seems malformed in last post 发件人: shanghe chen 发送时间: Wednesday, October 23, 2024 10:50:48 AM 收件人: users@tomcat.apache.org 主题: IndexOutOfBoundsException a

IndexOutOfBoundsException at getHeader with tomcat9.0.87

2024-10-22 Thread shanghe chen
Hi using tomcat 9.0.87, occasionally I got the following exception: java.lang.IndexOutOfBoundsException at java.base/java.nio.ByteBuffer.wrap(ByteBuffer.java:438 at org.apache.tomcat.util.buf.ByteChunk.toStringInternal(ByteChunk.java:622) at org.apache.tomcat.util.buf.StringCache.toString(St

Re: Tomcat stderr/stdout to console

2024-10-22 Thread Chuck Caldarale
> On Oct 22, 2024, at 19:19, Amit Pande wrote: > > Hello all, > > I am looking for way to print certain logs from Tomcat to actual console > (stdout) instead of getting those redirected to Catalina.out (default). > > e.g. messages like below (and errors failed to deploy any application) if ca

Tomcat stderr/stdout to console

2024-10-22 Thread Amit Pande
Hello all, I am looking for way to print certain logs from Tomcat to actual console (stdout) instead of getting those redirected to Catalina.out (default). e.g. messages like below (and errors failed to deploy any application) if can be redirected to console, it would avoid looking up into Cata

Re: Help with tomcat 11 failure

2024-10-22 Thread Christopher Schultz
Chuck, On 10/21/24 14:06, Chuck Caldarale wrote: On Oct 21, 2024, at 12:19, wrote: Fellow user here. I am guessing that you need to migrate your application to Java 17+ and make all the necessary changes to move from the javax.* to the Jakarta EE jakarta.* packages. This includes all s

Re: Occasional 400 errors for static resources in Tomcat 9.0.40

2024-10-22 Thread Christopher Schultz
Izek, On 10/22/24 15:05, Izek Hornbeck wrote: Right now we are only using HTTP/1.1--do you think that could make a difference? Only in that is reduces the number of places in Tomcat where a 400 response is sent. I would say it is reproducible... as far as I can recall, I see this at least

Re: Occasional 400 errors for static resources in Tomcat 9.0.40

2024-10-22 Thread Izek Hornbeck
Thanks for following up, Chris! Right now we are only using HTTP/1.1--do you think that could make a difference? I would say it is reproducible... as far as I can recall, I see this at least the first time in a day that I access each application deployed on tomcat, and some other times during the

Re: Can't access servlet 404 advise requested

2024-10-22 Thread Christopher Schultz
Holger, On 10/19/24 04:02, Holger Klawitter wrote: you Servlet is not connected to any url. You need a servlet mapping with a url-pattern specifyng which url to reply to. +1 -chris Frank Myers wrote (at 2024-10-18 21:05 +): Chris, I use "http://9.114.12.58:8080/WHMerge/"; Web.xml (in

Re: Occasional 400 errors for static resources in Tomcat 9.0.40

2024-10-22 Thread Christopher Schultz
Izek, On 10/16/24 18:07, Izek Hornbeck wrote: I have confirmed that our development team has seen these same loading issues with Tomcat 9.0.55 and 9.0.86. Are you using HTTP/2 or AJP at all? Or only HTTP/1.1? Is it at all reprodicible or are you just looking at log files? It's definitely pos