I think you can check the current value of maxThreads via JMX-Console.
Otherwise you can set a value for the "max-connections" attribute (if it is not set) on the web subsystem connectors.
The default MAX_THREADS value is computed as following in EAP6.4 (which uses JBOSSWEB_7_5_0_FINAL )
MAX_THREADS computation for Java based connector.
512 * Runtime.getRuntime().availableProcessors()
/** * Maximum amount of worker threads. */ protected int maxThreads = (org.apache.tomcat.util.Constants.LOW_MEMORY) ? 64 : ((Constants.MAX_THREADS == -1) ? 512 * Runtime.getRuntime().availableProcessors() : Constants.MAX_THREADS);
If you do not want to use the default values then you got the right link which tell us exactly how to create an Executor and how to associate it with the connector:
THank you for detailed response. It helps.