Manager activeSessions and customized error page

2012-05-14 Thread Thomas Rohde
Hi! I configured the Manager's maxActiveSessions attribute in context.xml. If the configured value is exceeded an IllegalStateException createSession: Too many active sessions is thrown in ManagerBase class. In our application we catch this exception around httpServletRequest.getSession(true)

Re: Manager activeSessions and customized error page

2012-05-14 Thread Konstantin Kolinko
2012/5/14 Thomas Rohde t...@ordix.de: Hi! I configured the Manager's maxActiveSessions attribute in context.xml. If the configured value is exceeded an IllegalStateException createSession: Too many active sessions is thrown in ManagerBase class. In our application we catch this exception

AW: Manager activeSessions and customized error page

2012-05-14 Thread Thomas Rohde
-Ursprüngliche Nachricht- Von:Konstantin Kolinko knst.koli...@gmail.com Gesendet: Mo 14.05.2012 15:00 Betreff:Re: Manager activeSessions and customized error page An: Tomcat Users List users@tomcat.apache.org; 2012/5/14 Thomas Rohde t...@ordix.de: Hi! I

Re: AW: Manager activeSessions and customized error page

2012-05-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 5/14/12 9:44 AM, Thomas Rohde wrote: A Filter was my first approach. But the filter is invoked after authentication has taken place. And for authentication a session is needed. ;-) Right: the form authenticator is in a Valve and

Re: AW: Manager activeSessions and customized error page

2012-05-14 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/05/2012 16:58, Christopher Schultz wrote: Thomas, On 5/14/12 9:44 AM, Thomas Rohde wrote: A Filter was my first approach. But the filter is invoked after authentication has taken place. And for authentication a session is needed. ;-)

AW: Manager activeSessions and customized error page

2012-05-14 Thread Thomas Rohde
-Ursprüngliche Nachricht- Von:Mark Thomas ma...@apache.org Gesendet: Mo 14.05.2012 18:25 Betreff:Re: AW: Manager activeSessions and customized error page An: Tomcat Users List users@tomcat.apache.org; -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/05/2012