5 Replies Latest reply on Aug 20, 2002 9:27 AM by Nicolás Dijkstra

    Webserver Timeout

    Ed Brown Newbie

      I need to extend the default timeout value of Catalina. How do I do that?

      Reading the doc, I don't see a timeout value attribute for the embedded Catalina mbean.

      All pointers would help.

        • 1. Re: Webserver Timeout
          Alain Coetmeur Newbie


          Which timeout ? the http connectors timeout ?

          with standard 244 jboss+tomcat401 it can only be done
          with a custom connector in an
          in the jboss.jcm for the catalinaSX mbean



          <!-- NB: case significant in XML element names -->




          the problem is that you also need change the
          default http port which is nevertheless created
          with defaults props...

          one way is through a
          8888


          and then you have to forbide access to this dummy port 8888...

          I've made a patch so that you
          can decale a default connector type "NONE"
          which creates no connector.
          it add much more functionalities so
          that you can doe quite all you can do
          with server.xml (wich is NOT AT ALL read in jboss+tomcat4)

          ask me (I can give you the catalina-engine.jar),
          or look in the patch repository for the diff.

          the all you have to do with this patch is


          0
          none
          /host=
          <!-- NB: case significant in XML element names -->


          <!-- relative to catalina/. home -->

          <-- add Host item for virtual host -->



          <!-- think about an HTTPS connector if you need -->


          • 2. Re: Webserver Timeout
            Ed Brown Newbie

            Thanks. However, I found a way to do it by using an attribute in the war file.

            However, some how, it needs to be made clearer that updating the server.xml configuration file does no good. At least put a readme in the directory.

            Thanks, and trudging on.

            • 3. Re: Webserver Timeout
              Volker Brachmann Newbie

              Hello,

              could you give more details about how to do this, please?

              Thanks.

              • 4. Re: Webserver Timeout
                Ed Brown Newbie

                <web-app>
                ...
                <session-config>
                <session-timeout>0</session-timeout>
                </session-config>
                ...
                </web-app>

                • 5. Re: Webserver Timeout
                  Nicolás Dijkstra Newbie

                  Thank you very much!
                  Just what i was looking for