4 Replies Latest reply on Mar 5, 2014 4:18 PM by ron_sigal

    Asynchronous default timeout

    ron_sigal

      I see in org.apache.catalina.connector.Request that the default timeout for asynchronous requests is -1.  Is there any way to configure that?

       

      Thanks,

      Ron

        • 1. Re: Asynchronous default timeout
          jfclere

          it is a system property just set it.

          • 2. Re: Re: Asynchronous default timeout
            ron_sigal

            Hi Jean-Frederic,

             

            I don't really know what that means.  I guess things have changed a bit since AS 4.2.3.GA.  ;-)

             

            After looking at the AS 7 Admin Guide, my best guess is that I want to add something like

             

              <system-properties>

                <property name="org.apache.catalina.connector.Request.asyncTimeout" value="7777"/>

              </system-properties>

             

            to standalone*.xml, but I guess I guessed wrong.

             

            Don't Brock me, bro!!

             

            -Ron

            • 3. Re: Re: Asynchronous default timeout
              jfclere

              Unfortunately that won't work... I was too fast you have 2 way to go:

              1 - set the timeout in the webapp.

              2 - create a JIRA and get the missing org.apache.catalina.connector.Request.asyncTimeout added in JBossWeb.

              • 4. Re: Asynchronous default timeout
                ron_sigal

                Thanks, Jean-Frederic.  I feel better now.

                 

                I've created JBWEB-291 "Add org.apache.catalina.connector.Request.asyncTimeout parameter".  I left the affects version and fix version fields blank.

                 

                -Ron