Re: Need Help : Unable to write back a response error code from ReadListener#onError

2023-10-31 Thread Adwait Kumar Singh
Sorry for the wrong bug id. This is the one I filed, https://bz.apache.org/bugzilla/show_bug.cgi?id=68037 On Tue, Oct 31, 2023 at 3:24 PM Adwait Kumar Singh wrote: > AFAIK the response is not being committed. > > I created a bug for this with a reproducible test case, >

Re: Need Help : Unable to write back a response error code from ReadListener#onError

2023-10-31 Thread Adwait Kumar Singh
AFAIK the response is not being committed. I created a bug for this with a reproducible test case, https://bz.apache.org/bugzilla/show_bug.cgi?id=54123 On Tue, Oct 31, 2023 at 12:49 PM Mark Thomas wrote: > > > On 30/10/2023 22:25, Adwait Kumar Singh wrote: > > Hi, > > > > I am using the async

Re: Need Help : Unable to write back a response error code from ReadListener#onError

2023-10-31 Thread Mark Thomas
On 30/10/2023 22:25, Adwait Kumar Singh wrote: Hi, I am using the async Servlet API and NIO, by setting a ReadListener. In the onError of the ReadListener, I am catching a SocketTimeoutException and trying to send back an error code 408. Here is the simplified example of what I am trying to

Re: Java 9+ and custom JCE/JSSE providers

2023-10-31 Thread Mark Thomas
On 31/10/2023 14:22, Amit Pande wrote: Hello, I am in the process of updating https://github.com/amitlpande/tomcat-9-fips page for version later than Java 8. Ran into an issue: 1. Was looking the configure the additional bouncy castle providers in the Java install itself by: *

RE: Accessing Credential handler inside the web application always returns null

2023-10-31 Thread Усманов Азат Анварович
Hi everyone! CredentialHandler became not null, as soon as I transferred Realm definition from server.xml to context.xml(after checking the source code) .I've been able to see the new pbkdf2 version of the given clear text password even with old 9.0.64 version. I was wondering is the

Java 9+ and custom JCE/JSSE providers

2023-10-31 Thread Amit Pande
Hello, I am in the process of updating https://github.com/amitlpande/tomcat-9-fips page for version later than Java 8. Ran into an issue: 1. Was looking the configure the additional bouncy castle providers in the Java install itself by: * Modifying the java.security file to add