Increase the Jetty ThreadPool size in Karaf

Question

How to increase the Jetty ThreadPool size in Karaf?

 

Answer

Add the following lines to org.ops4j.pax.web.cfg, located under runtimecontainer/etc, and restart the runtime server:

 

org.ops4j.pax.web.server.maxThreads=<value>
org.ops4j.pax.web.server.minThreads=<value>

The values can be verified in JConsole.

Version history
Revision #:
8 of 8
Last update:
‎11-28-2017 06:35 PM
Updated by:
 
Labels (2)
Contributors
Tags (2)