William, On 11/3/25 11:15 AM, William Crowell wrote:
I have never tried doing it through the executor like that. How I enable virtual threads in server.xml is like this:<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" maxParameterCount="1000" useVirtualThreads="true" />
This uses <Connector> to auto-create an <Executor> The useVirtualThreads attribute just tells Tomcat to create an <Executor> that uses the virtual thread executor class.
-chris --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
