JBoss 7.1.1 Http Connection Timeout

China☆狼群 提交于 2019-12-23 01:12:31

问题


I am trying to set http connection timeout for JBoss 7.1.1 but I just can't find inside standalone.xml where to change this setting. Does anyone have an idea where I can change the default setting of 60 sec?


回答1:


You can configure a connection timeout of the HTTP connector by system property:

org.apache.coyote.http11.DEFAULT_CONNECTION_TIMEOUT

It can be added to your standalone.conf file:

JAVA_OPTS="$JAVA_OPTS -Dorg.apache.coyote.http11.DEFAULT_CONNECTION_TIMEOUT=60000"

But according to this:

https://issues.jboss.org/browse/AS7-4566

It may be available only from JBoss 7.1.2



来源:https://stackoverflow.com/questions/33085971/jboss-7-1-1-http-connection-timeout

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!