4 Replies Latest reply on May 3, 2007 9:15 PM by Shilpi Jain

    session timeout

    kampa Newbie

      Hi
      I need your help.
      Where do I configure session timeout in a jboss2.4.6?
      JBoss would not let me do it in web.xml file like:
      <session-config>
      <session-timeout>60</session-timeout>
      </session-config>.
      Got the error:
      [ERROR,Engine] ContextConfig[/ssapp] Parse error in application web.xml
      org.xml.sax.SAXParseException: Element "web-app" does not allow "session-config" here.

        • 1. Re: session timeout
          Juha Lindfors Master

          Check the DTD and make sure you've added your session configuration in the correct place in web.xml. Notice that the order of elements is significant in correctly formed XML documents.

          -- Juha

          • 2. Re: session timeout
            Shilpi Jain Newbie

            unable to make out where to set session timeout property..there are so many web.xml files in jboss-3.2.2..I am confused!!
            Please tell the path at which web.xml should be modified for session time out

            • 3. Re: session timeout
              jaikiran pai Master

              shilps, you will have to add the session timeout entry in the web.xml belonging to your application.

              • 4. Re: session timeout
                Shilpi Jain Newbie

                But at what path..we are deploying adobe form server through jboss3.2.2..i checked timeout property..but there are so many web.xml like at:
                \\192.168.11.40\c$\jboss-3.2.2\server\all\conf

                \\192.168.11.40\c$\jboss-3.2.2\server\default\deploy\jbossweb-tomcat41.sar

                \\192.168.11.40\c$\jboss-3.2.2\server\all\deploy\jmx-console.war\WEB-INF

                now which one out of these to trust?? :(