Automated migration for Tomcat 9 to 10

2022-05-02 Thread Chetna Agrawal
Hi, I want to migrate my webapp from Java EE8 to Jakarta EE 9 in order to run it on tomcat 10.0.18. I want migration to happen after starting tomcat (runtime) by adding - , in my context defined in server.xml. I am providing the value of Context path as /chetna and docbase as absolute path

Trying to use Loom virtual threads with Tomcat

2022-05-02 Thread Cay Horstmann
Hi, I am trying to experiment with Loom (https://openjdk.java.net/jeps/425) virtual threads in Tomcat 10. There is a nice extension point in server.xml where I can provide an Executor and use it in the default Connector. It works like a charm--all my requests run on a virtual thread, and AFAIK,

Re: Trying to use Loom virtual threads with Tomcat

2022-05-02 Thread Rémy Maucherat
On Tue, May 3, 2022 at 6:24 AM Cay Horstmann wrote: > > Hi, I am trying to experiment with Loom > (https://openjdk.java.net/jeps/425) virtual threads in Tomcat 10. There > is a nice extension point in server.xml where I can provide an Executor > and use it in the default Connector. It works like a

Re: Trying to use Loom virtual threads with Tomcat

2022-05-02 Thread Cay Horstmann
Il 03/05/2022 07:25, Rémy Maucherat ha scritto: On Tue, May 3, 2022 at 6:24 AM Cay Horstmann wrote: Hi, I am trying to experiment with Loom (https://openjdk.java.net/jeps/425) virtual threads in Tomcat 10. There is a nice extension point in server.xml where I can provide an Executor and use it