Re: How to integrate alternative SSLContext?

2023-08-23 Thread John Jiang
Hi Mark, On Thu, Aug 24, 2023 at 7:26 AM Mark Thomas wrote: > >> You shouldn't need a custom connector. As things stand currently, you > >> would need a custom SSLImplementation although you should be able to > >> extend the exising JSSE support for most of that. > > > > How can I take the

Re: How to integrate alternative SSLContext?

2023-08-23 Thread Mark Thomas
On 23/08/2023 14:20, John Jiang wrote: Hi Mark, Thanks for your reply! On Thu, Aug 24, 2023 at 12:15 AM Mark Thomas wrote: On 23/08/2023 00:44, John Jiang wrote: Hi, I'm using tomcat-embed-core 9.0.78 + OpenJDK 11.o.19. My project needs a custom javax.net.ssl.SSLContext implementation.

Re: How to integrate alternative SSLContext?

2023-08-23 Thread John Jiang
Hi Mark, Thanks for your reply! On Thu, Aug 24, 2023 at 12:15 AM Mark Thomas wrote: > On 23/08/2023 00:44, John Jiang wrote: > > Hi, > > I'm using tomcat-embed-core 9.0.78 + OpenJDK 11.o.19. > > My project needs a custom javax.net.ssl.SSLContext implementation. > > Why? What problem are you

Re: Virtual Thread Configuration In Tomcat 11

2023-08-23 Thread Mark Thomas
On 23/08/2023 10:07, William Crowell wrote: Mark, Thanks for your reply. Just to clarify…this is all I need in Tomcat 11’s server.xml (as well as JDK21): … Correct. Mark - To unsubscribe, e-mail:

Re: Tomcat 9.0.x on Windows crashing

2023-08-23 Thread Robert Turner
You can try adding: -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=C:\HeapDump\java_pid.hprof to the Java options (in "Configure Tomcat") to capture heap dumps on out of memory errors (adjust path to suit your configuration) Robert On Wed, Aug 23, 2023 at 1:03 PM Daniel Savard wrote: > Hi

Re: Virtual Thread Configuration In Tomcat 11

2023-08-23 Thread William Crowell
Mark, Thanks for your reply. Just to clarify…this is all I need in Tomcat 11’s server.xml (as well as JDK21): … … Regards, William Crowell This e-mail may contain information that is privileged or confidential. If you are not the intended recipient, please delete the e-mail and any

Tomcat 9.0.x on Windows crashing

2023-08-23 Thread Daniel Savard
Hi everyone, I didn't specify the actual Tomcat version because the problem occurs under all versions. We are running a commercial web application and all of sudden after a while Tomcat is crashing without issuing any message. It is very likely due to the application. But the vendor was of no

Re: How to integrate alternative SSLContext?

2023-08-23 Thread Mark Thomas
On 23/08/2023 00:44, John Jiang wrote: Hi, I'm using tomcat-embed-core 9.0.78 + OpenJDK 11.o.19. My project needs a custom javax.net.ssl.SSLContext implementation. Why? What problem are you trying to solve? How can I integrate this custom SSLContext to the embedded Tomcat server? I don't

How to integrate alternative SSLContext?

2023-08-23 Thread John Jiang
Hi, I'm using tomcat-embed-core 9.0.78 + OpenJDK 11.o.19. My project needs a custom javax.net.ssl.SSLContext implementation. How can I integrate this custom SSLContext to the embedded Tomcat server? I don't find any convenient API for this case. Do I have to provide a new SSLImplementation, and