3

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 Answer 1

3

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

Sign up to request clarification or add additional context in comments.

1 Comment

Tried in Wildfly 10, didn't work. Still getting Socket timeout exception.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.