3 Replies Latest reply on Feb 6, 2003 12:20 PM by djochim

    Context information from server.xml

    djochim

      There is no way to I can maintain any of the context information from Tomcat's server.xml in JBoss is there?
      I tried looking at tomcat41-service.xml and the applications web.xml but neither seemed to work.
      I would like to limit the number of sessions (in server.xml there was a maxActiveSession attribute) is there a better alternative in JBoss?
      I am using JBoss 3.0.4 and Tomcat 4.1.12.
      Thank you for any and all of your help.

        • 1. Re: Context information from server.xml
          mlindhout

          Hi,
          I'm not sure I understand you completely, but in the tomcat41-service.xml, there is an element:




          You can put Tomcat's server.xml contents between those tags.

          • 2. Re: Context information from server.xml
            djochim

            Thank you for the response and I am sorry that I was less than clear.
            Basically I want to limit the number of user sessions. In Tomcat I could control this in a context manager attribute, 'maxActiveSessions' in server.xml. I tried to duplicate this setting in tomcat41-service.xml but it didn't work for me. I think I followed the DTD correctly but I could have easily made a mistake (it happens all too often).
            Is it possible to use this maxActiveSessions in tomcat41-service.xml? Is there a better way in JBoss-Tomcat to control the number of session?
            thank you again for any and all help.

            • 3. Re: Context information from server.xml
              djochim

              Has anyone had to do anything like this?
              thanks again.