RE: Does web.xml inherit?
As far as I know the sequence is: Default Context App Context /conf/web.xml /WEB-INF/web.xml So your /WEB-INF/web.xml has the final say, provided that overrides to the previous settings have been allowed. -Original Message- From: Ben Ricker [mailto:[EMAIL PROTECTED]] Sent: Montag, 25. November 2002 23:24 To: Tomcat Users List Subject: Does web.xml inherit? I am running Tomcat 4.0.6 on Solaris. We are getting complaints of session timeouts from users. Looking around I found the Default Session Configuration section of the web.xml in the /conf directory. The app is in its own context defined by its own web.xml. So my question is: does the web.xml inherit the values from the web.xml in the /conf directory (let us call it the main web.xml)? Or are the default values listed in the main web.xml the default values for ALL other contexts if they are not explicitely changed in the other contexts? Thanks, Ben Ricker Wellinx.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Does web.xml inherit?
On Tue, 2002-11-26 at 04:19, Roberts, Eric wrote: As far as I know the sequence is: Default Context App Context /conf/web.xml /WEB-INF/web.xml So your /WEB-INF/web.xml has the final say, provided that overrides to the previous settings have been allowed. Actually, we found that this is not correct. The Default Session Configuration section is only definable in the /conf/web.xml. We tried putting it into the /WEB_INF/web.xml and it did nothing to change the session timeout. I did not try removing the session timeout parameter, however. Anyway, at least for the session parameters, the /conf/web.xml has the final say. Thanks for the help, Ben Ricker Wellinx.com -Original Message- From: Ben Ricker [mailto:[EMAIL PROTECTED]] Sent: Montag, 25. November 2002 23:24 To: Tomcat Users List Subject: Does web.xml inherit? I am running Tomcat 4.0.6 on Solaris. We are getting complaints of session timeouts from users. Looking around I found the Default Session Configuration section of the web.xml in the /conf directory. The app is in its own context defined by its own web.xml. So my question is: does the web.xml inherit the values from the web.xml in the /conf directory (let us call it the main web.xml)? Or are the default values listed in the main web.xml the default values for ALL other contexts if they are not explicitely changed in the other contexts? Thanks, Ben Ricker Wellinx.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Does web.xml inherit?
hey i am facing they same problem sometime we are facing session time outs in spite of me setting session to never expire on first jsp page session.setMaxInactiveInterval (-1); DO U THINK I SHOULD CHANGE THIS Conf/web.xml -Original Message- From: Ben Ricker [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 9:49 AM To: Tomcat Users List Subject: RE: Does web.xml inherit? On Tue, 2002-11-26 at 04:19, Roberts, Eric wrote: As far as I know the sequence is: Default Context App Context /conf/web.xml /WEB-INF/web.xml So your /WEB-INF/web.xml has the final say, provided that overrides to the previous settings have been allowed. Actually, we found that this is not correct. The Default Session Configuration section is only definable in the /conf/web.xml. We tried putting it into the /WEB_INF/web.xml and it did nothing to change the session timeout. I did not try removing the session timeout parameter, however. Anyway, at least for the session parameters, the /conf/web.xml has the final say. Thanks for the help, Ben Ricker Wellinx.com -Original Message- From: Ben Ricker [mailto:[EMAIL PROTECTED]] Sent: Montag, 25. November 2002 23:24 To: Tomcat Users List Subject: Does web.xml inherit? I am running Tomcat 4.0.6 on Solaris. We are getting complaints of session timeouts from users. Looking around I found the Default Session Configuration section of the web.xml in the /conf directory. The app is in its own context defined by its own web.xml. So my question is: does the web.xml inherit the values from the web.xml in the /conf directory (let us call it the main web.xml)? Or are the default values listed in the main web.xml the default values for ALL other contexts if they are not explicitely changed in the other contexts? Thanks, Ben Ricker Wellinx.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Does web.xml inherit?
On Tue, 2002-11-26 at 09:01, [EMAIL PROTECTED] wrote: hey i am facing they same problem sometime we are facing session time outs in spite of me setting session to never expire on first jsp page session.setMaxInactiveInterval (-1); DO U THINK I SHOULD CHANGE THIS Conf/web.xml Possibly. Timeouts can be a tricky business because of all the issues involved. In conf/web.xml there is a session properties where the default session timeout is 30 minutes. If that is not long enouhg, you can change it there. It does work; we tested it thoroughly (setting it to one minute, 30 minutes, and 60 minutes. It worked). Ben Ricker Wellinx.com -Original Message- From: Ben Ricker [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 9:49 AM To: Tomcat Users List Subject: RE: Does web.xml inherit? On Tue, 2002-11-26 at 04:19, Roberts, Eric wrote: As far as I know the sequence is: Default Context App Context /conf/web.xml /WEB-INF/web.xml So your /WEB-INF/web.xml has the final say, provided that overrides to the previous settings have been allowed. Actually, we found that this is not correct. The Default Session Configuration section is only definable in the /conf/web.xml. We tried putting it into the /WEB_INF/web.xml and it did nothing to change the session timeout. I did not try removing the session timeout parameter, however. Anyway, at least for the session parameters, the /conf/web.xml has the final say. Thanks for the help, Ben Ricker Wellinx.com -Original Message- From: Ben Ricker [mailto:[EMAIL PROTECTED]] Sent: Montag, 25. November 2002 23:24 To: Tomcat Users List Subject: Does web.xml inherit? I am running Tomcat 4.0.6 on Solaris. We are getting complaints of session timeouts from users. Looking around I found the Default Session Configuration section of the web.xml in the /conf directory. The app is in its own context defined by its own web.xml. So my question is: does the web.xml inherit the values from the web.xml in the /conf directory (let us call it the main web.xml)? Or are the default values listed in the main web.xml the default values for ALL other contexts if they are not explicitely changed in the other contexts? Thanks, Ben Ricker Wellinx.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]