JBoss 7.1.1 Http Connection Timeout

2019-06-07 00:51发布

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条回答
Evening l夕情丶
2楼-- · 2019-06-07 01:34

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

查看更多
登录 后发表回答