java - Jboss AS 7 为地址/0.0.0.0 和端口 8009 的连接器创建的最大线程数 (64)

标签 java apache jboss

我在使用 JBoss AS 7.1.1 时遇到问题。场景是,我前面有一个 Apache HTTPD 服务器,使用运行 Spring 应用程序的 AJP 连接到 JBoss。 有时我会收到错误消息:

Maximum number of threads (64) created for connector with address /0.0.0.0 and port 8009

我已更改配置以在 AJP 连接器中包含最大连接数标志:

<connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp" max-connections="1000"/>

不幸的是,这并没有解决问题。关于这个问题,任何人都可以指出正确的方向吗?

最佳答案

我认为您正在寻找 maxThreads?

maxThreads

The maximum number of request processing threads to be created by this Connector, which therefore determines the maximum number of simultaneous requests that can be handled. If not specified, this attribute is set to 200.

http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html

关于java - Jboss AS 7 为地址/0.0.0.0 和端口 8009 的连接器创建的最大线程数 (64),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24425606/

相关文章:

java - 两个相同服务器之一上的 ClassNotFoundException (ObjectModelFactory)

java模拟自定义对象

java - Android 实现 runOnUiThread

php - 在 Apache-Solr 中搜索部分单词

java - Apache Tomcat 访问错误 : 404 -- Not Found

java - JBoss SystemPropertiesService 不一致地重新加载属性

postgresql - 无法为 Keycloak 配置 postgreSQL 数据源

java - Junit 多重设置和单一测试

java - 如何同步操作?

php - Apache 不提供子域图像