THALES GROUP LIMITED DISTRIBUTION to email recipients Hello everyone,
Looking at https://tomcat.apache.org/tomcat-10.1-doc/config/executor.html we can configure Tomcat 10.1.x to use virtual threads instead of platform threads. Do you confirm ? The way to do it, as far as I understood, is to: * first, declare an executor in server.xml like below <Executor name="virtualThread" className="org.apache.catalina.core.StandardVirtualThreadExecutor" /> * second, use a connector which will refer this above Executor thanks to its name attribute. The way I do it, is to update line 74, in server.xml, from <Connector port="8080" protocol="HTTP/1.1" to <Connector executor="virtualThread" port="8080" protocol="HTTP/1.1" I started Tomcat and triggered a thread dump. I was not able to see any tomcat-virt string. Does it mean that the virtual thread usage is still disabled ? What's wrong with my configuration ? Best Regards.
