VolareYang commented on PR #866:
URL: https://github.com/apache/tomcat/pull/866#issuecomment-4776711602

   > What is the purpose of this change? It does not appear to be necessary.
   > 
   > Further, the patch as provided includes an unnecessary semi-colon.
   
   
   Hello! I have a question: how do you enable virtual threads in Tomcat 11? 
After enabling virtual threads, which log in the Tomcat startup can you check 
to confirm that virtual threads are being used?
   
   My environment:
   Tomcat: 11.0.23
   JDK: 21
   server.xml configuration:
   <Executor name="virtualThreadExecutor" 
className="org.apache.catalina.core.StandardVirtualThreadExecutor" 
namePrefix="tomcat-virt-"/>
   <Connector executor="virtualThreadExecutor" port="8080" protocol="HTTP/1.1"
   connectionTimeout="20000"
   redirectPort="8443" />
   
   In the startup log, it shows:
   23-Jun-2026 14:51:39.306 INFO [main] 
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler 
["http-nio-8080"]
   23-Jun-2026 14:51:39.313 INFO [main] 
org.apache.catalina.startup.Catalina.start Server startup in [799] milliseconds
   
   I used the jstack command to check the thread stack, but there are no 
threads related to tomcat-virt-. ...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to