Re: NPE while lookup resource in tomcat JNDI

2020-11-09 Thread Christopher Schultz
Arnaud, Apologies for the top-post. Could you please: 1. Re-post preserving whitespace? Your code+config were unreadable when they made it to the mailing list. 2. Post the full (redacted if necessary) stack trace of the NPE. 3. Annotate your code with some line-numbers so we can match #1

Re: Timeout waiting to read data from client

2020-11-09 Thread Jerry Malcolm
On 11/9/2020 3:10 AM, Mark Thomas wrote: On 08/11/2020 01:33, Jerry Malcolm wrote: On 11/7/2020 6:56 PM, Christopher Schultz wrote: Jerry, On 11/6/20 19:49, Jerry Malcolm wrote: I have a relatively new environment with a standalone tomcat (8.5) running on an AWS Linux2 EC2.  I'm not using

NPE while lookup resource in tomcat JNDI

2020-11-09 Thread Arnaud Mergey
Hello, I have a tomcat app that is trying to list available JDBC Datasources it can find in tomcat JNDI Context It fails with NPE when there is a ResourceLink in my app context. It seems to be a bug in org.apache.naming.NamingContextBindingsEnumeration to me, but I may be wrong. A minimal test

Re: Weirdest Tomcat Behavior Ever?

2020-11-09 Thread Mark Thomas
Eric, Time to prune the history and provide another summary I think. This summary isn't complete. There is more information in the history of the thread. I'm trying to focus on what seems to be the key information. Overview: A small number of requests are receiving a completely empty (no

Re: Timeout waiting to read data from client

2020-11-09 Thread Mark Thomas
On 08/11/2020 01:33, Jerry Malcolm wrote: > > On 11/7/2020 6:56 PM, Christopher Schultz wrote: >> Jerry, >> >> On 11/6/20 19:49, Jerry Malcolm wrote: >>> I have a relatively new environment with a standalone tomcat (8.5) >>> running on an AWS Linux2 EC2.  I'm not using HTTPD/AJP.  Its a direct