You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Selaron <se...@online.ms> on 2011/07/23 00:35:52 UTC

No error-page for IllegalStateException(Too many active sessions) Instead: Empty page HTTP code 200 (OK)

Hello,

in somecases, Tomcat dosn't allow output of an error page for too many active sessions.

Reproduction:

1) Configure Tomcat 6 or 7 example application to allow maxActiveSessions=1 only (e.g. adding /examples/META-INF/context.xml#SimpeSessionManager...)
2) Visit http://localhost:8080/examples/jsp/security/protected
3) delete cookies
4) hit reresh

Shouldshow: Internal Server error 500
But shows: empty page (0 bytes content-length; code 200)

Is there a way to catch this exeption from within your web app? Or is it a bug?

Thanks,

Selaron


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org