Hi,
Sorry to be a bother, but this one has been bugging me for awhile since
I upgraded to Roller 2.1
If you login and then forget about your session for a while, and then
come back to your computer (or return to the tab where you were logged
in) and decide to logout of Roller you get this exception report -
[Listing 1].
Shouldn't logging out of an expired session just take you back to the
main page? At worst I think it could give an error message about "your
session has expired - Please login in again to conitune"
Just a thought.
These emails are driven by the wish to help make Roller a more user
friendly experience for novice users who get freaked out by HTTP Status
500 screens and the like.
On a more positive note CheBlogs.com is coming along nicely with the
Roller 2.1 upgrade and the changes from Roller 1.0 really are great!
Brian
[Listing 1]
HTTP Status 500 -
________________________________________________________________________
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
java.lang.IllegalStateException: Cannot create a session after the response has
been committed
org.apache.coyote.tomcat5.CoyoteRequest.doGetSession(CoyoteRequest.java:2270)
org.apache.coyote.tomcat5.CoyoteRequest.getSession(CoyoteRequest.java:2116)
org.apache.coyote.tomcat5.CoyoteRequestFacade.getSession(CoyoteRequestFacade.java:528)
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:215)
org.acegisecurity.ui.WebAuthenticationDetails.<init>(WebAuthenticationDetails.java:55)
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.createAuthentication(AnonymousProcessingFilter.java:99)
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:140)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303)
org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:50)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303)
org.acegisecurity.securechannel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:168)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303)
org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:165)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303)
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:246)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303)
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:220)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303)
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:173)
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:120)
org.roller.presentation.filters.SchemeEnforcementFilter.doFilter(SchemeEnforcementFilter.java:104)
org.roller.presentation.filters.CharEncodingFilter.doFilter(CharEncodingFilter.java:94)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.0.30 logs.
________________________________________________________________________
Apache Tomcat/5.0.30