Messages posted by r1a1v1i1
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icesoft.org  [Login] Login 
Messages posted by: r1a1v1i1  XML
Profile for r1a1v1i1 -> Messages posted by r1a1v1i1 [68] Go to Page: 1, 2, 3, 4, 5 Next 
Author Message
Hi,

I set session redirect url to redirect to login page and session timeout to 24 hours, but still i got the following error once. I am not able to reproduce this after that.
I am using ICEfaces 1.7.2-SP1.

I got HTTP Status 500 - error on the page :

javax.faces.FacesException: Problem in renderResponse: com.icesoft.faces.webapp.http.core.SessionExpiredException: Session has been expired.
com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:294)
com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:159)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
com.icesoft.faces.context.View$2.respond(View.java:44)
com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:167)
com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)
com.icesoft.faces.context.View.servePage(View.java:274)
com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:62)
com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38)
com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:55)
com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:91)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:111)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.concurrent.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:99)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183)
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138)


root cause

javax.faces.FacesException: com.icesoft.faces.webapp.http.core.SessionExpiredException: Session has been expired.
javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1593)
com.icesoft.faces.renderkit.dom_html_basic.ButtonRenderer.encodeBegin(ButtonRenderer.java:113)
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:813)
com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:350)
com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:92)
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:352)
com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:92)
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:571)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:282)
com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:159)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
com.icesoft.faces.context.View$2.respond(View.java:44)
com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:167)
com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)
com.icesoft.faces.context.View.servePage(View.java:274)
com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:62)
com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38)
com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:55)
com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:91)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:111)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.concurrent.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:99)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183)
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138)


root cause

com.icesoft.faces.webapp.http.core.SessionExpiredException: Session has been expired.
com.icesoft.faces.webapp.http.servlet.ProxyHttpSession.getAttribute(ProxyHttpSession.java:77)
com.icesoft.faces.webapp.http.servlet.ServletSessionAttributeMap.getAttribute(ServletSessionAttributeMap.java:16)
com.icesoft.faces.context.AbstractAttributeMap.containsKey(AbstractAttributeMap.java:85)
com.sun.faces.mgbean.BeanManager.isBeanInScope(BeanManager.java:177)
com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82)
javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
com.sun.faces.el.ChainAwareVariableResolver.resolveVariable(ChainAwareVariableResolver.java:108)
org.springframework.web.jsf.DelegatingVariableResolver.resolveVariable(DelegatingVariableResolver.java:108)
com.sun.faces.el.VariableResolverChainWrapper.getValue(VariableResolverChainWrapper.java:107)
javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:61)
org.apache.el.parser.AstValue.getValue(AstValue.java:107)
org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
javax.faces.component.html.HtmlCommandButton.getImage(HtmlCommandButton.java:204)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1585)
com.icesoft.faces.renderkit.dom_html_basic.ButtonRenderer.encodeBegin(ButtonRenderer.java:113)
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:813)
com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:350)
com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:92)
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:352)
com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:92)
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:571)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:282)
com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:159)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
com.icesoft.faces.context.View$2.respond(View.java:44)
com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:167)
com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)
com.icesoft.faces.context.View.servePage(View.java:274)
com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:62)
com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38)
com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:55)
com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:91)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:111)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.concurrent.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:99)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183)
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138)


root cause

java.lang.IllegalStateException: getAttribute: Session already invalidated
org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:1032)
org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:110)
com.icesoft.faces.webapp.http.servlet.ProxyHttpSession.getAttribute(ProxyHttpSession.java:75)
com.icesoft.faces.webapp.http.servlet.ServletSessionAttributeMap.getAttribute(ServletSessionAttributeMap.java:16)
com.icesoft.faces.context.AbstractAttributeMap.containsKey(AbstractAttributeMap.java:85)
com.sun.faces.mgbean.BeanManager.isBeanInScope(BeanManager.java:177)
com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82)
javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
com.sun.faces.el.ChainAwareVariableResolver.resolveVariable(ChainAwareVariableResolver.java:108)
org.springframework.web.jsf.DelegatingVariableResolver.resolveVariable(DelegatingVariableResolver.java:108)
com.sun.faces.el.VariableResolverChainWrapper.getValue(VariableResolverChainWrapper.java:107)
javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:61)
org.apache.el.parser.AstValue.getValue(AstValue.java:107)
org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
javax.faces.component.html.HtmlCommandButton.getImage(HtmlCommandButton.java:204)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1585)
com.icesoft.faces.renderkit.dom_html_basic.ButtonRenderer.encodeBegin(ButtonRenderer.java:113)
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:813)
com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:350)
com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:92)
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:352)
com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:358)
com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:92)
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:571)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:282)
com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:159)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
com.icesoft.faces.context.View$2.respond(View.java:44)
com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:167)
com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)
com.icesoft.faces.context.View.servePage(View.java:274)
com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:62)
com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38)
com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:55)
com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:91)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:111)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.concurrent.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:99)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183)
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138)
We are not using any automated test tools.
Hi,
Following is the snippet of the code.

##Display controller which used to get the data and reload the data periodically.

public DisplayController {

private Object[] data;
public DisplayController () {
SessionRenderer.add("all");
ContorllerThread thread = new ContorllerThread ();
thread.start();
}

public void getData() {

//Read data from db and return
data = dbService.getData();
return data;

}

private void clearData() {
data = null;
}

private class ContorllerThread {

public void run() {
try {
while(true) {
//clear existing data
clearData();
//Reload data
data = getData();
SessionRenderer.render("all");
}
} catch (Exception e) {
}
}
}

}



//faces config

<managed-bean>
<managed-bean-name>displayController </managed-bean-name>
<managed-bean-class>
xxx.xxxxxx.DisplayController
</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>

//ICEfaces page

<f:view xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ice="http://www.icesoft.com/icefaces/component"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:c="http://java.sun.com/jstl/core_rt">

-----------------

<ice:dataTable value="#{displayController.data}" var="item">
///The display is here

</<ice:dataTable>
Greg :
I defined concurrentDOMViews to true in web.xml. How can i add dispose views mechanism?


carloslopez:
I reverted to ICEfaces 1.7.2-SP1, but still i am getting memory leak error with ajax push.
Hi,
I implemented ajax push using ICEfaces 1.7 with facelets. I am rendering a page periodically through server push. In mozilla the rendered page containing results repeated though its showing fine in IE. When i refreshed the page in Mozilla its displaying the page correctly.

Thanks,
Ravi
Here are my observations

1. Does your memory grows up when you refresh the page?
>> Yes whenever i am refreshing the page the memory is increasing.

2. The memory it's being allocated due to the 'amount' of sessions?
>> Yes if open a new session then the memory is increasing

3. It's really being freed after some time?
>> No, the memory is not getting freed after some time. I am seeing fluctuations at top but the memory graphs is increasing. With 8-10 session opened with ajax push functionality within 4 hours the heap size increased to 200 MB.

I am profiling using jpfrofiler and its showing more objects of ICEfaces DOMContext bean.

Thanks,
Ravi
I looked into http://www.icefaces.org/JForum/posts/list/12961.page.

The solution is basically about clearing views when logging out . But I implemented ajax push and left the page open so that it automatically refreshes. But i didn't logged out of the session much of the time. Still getting memory leak.

So what will be problem in my case?
Hi,
I am implementing AjaxPush functionality. I defined an application scoped managed bean in faces config and i m registering the session in the constructor of the bean. I am not using any Session scoped bean.

But whenever i open a new session, this session is not getting registered for SessionRenderer and the changes are not getting rendered. Only the first session getting rendered.

Is there any solution for this or i need to use OnDemandRenderer seperately instead of SessionRenderer, which is also simplified OnDemandRenderer.

Thanks,
Ravi
Hi,
My implementation is On-demand render as rendering is triggered by backend event. So i continued implementing with Session Renderer.

Observed the following thing:

When using SessionRenderer, if i am using the managed bean in Application scope, only the first browser getting refreshed as its the only one added in session. How to add other requests in session from application scoped controller.

Thanks,
Ravi

I am using facelets.
Hi,

I upgraded from ICEfaces 1.7 to ICEfaces 1.8.0 and included ajax push functionality using SessionRenderer in my application. But after running server continuously for 36 hours we are getting "Out of memory error".

Previously i tried with ICEfaces 1.8 Development release candidate and got the same issue and so reverted it to ICEfaces1.7. Now i am getting out of memory error with ICEfaces 1.8.0 production release also.

I am testing the application in Mozilla2/3, IE7 and Safari.

Does anybody observed memory leak in ICEfaces 1.8.0

Thanks,
Ravi
Hi,

Any comments from ICEFaces developers. Can you please respond to this?
I am using icefaces 1.8 and SessionRenderer with session scoped managed beans and i deployed ajax push server along with it. Seems its working fine in local machine when both server and client in one machine but when i access the server from other machine it seems network delay causing heartbeat messages lost [but not sure of this]. What i observed is the page is getting refreshed some times but its getting stopped after some time and from that time no updates.

Do you want me to try with RenderManager instead of SessionManager.


Thanks,
Ravi
Hi,

I am trying to implement ajax push/server push in my application using SessionRender of ICEfaces 1.8.

My implementation is like this
1. The home page contains a Dashboard which displays all the information for related to user [For example --no of mails of the user till now get]
2. I wrote such that a thread is running every 20 minutes and if there are any changes its pushes the data.

When i am retrieving small data then its getting updated fine but when i m retrieving large sets of data then ajax push not happening.

The log messages showing the SessionRender.render method gettting invoked, but the changed values are not refreshing in the browser and when i refresh the browser then they are getting refreshed.

Note: I didn't deployed ICEfaces default ajaxpush war as i have only one application with ajax push.

Please let me know how to identify the problem and possible solutions.
Thanks,
Ravi
Hi,
I am using browser popup window to display the results. and user can do requests using the buttons provided in the popup. The popup is coming fine but when clicked on any button in the popup, its saying session expired.
Tried both in synchronous and asynchronous mode. Seems for each request new view id is getting generated.

There is similar issue with a fix in http://www.icefaces.org/JForum/posts/list/8638.page. But it needs view id generated explicitly.

Any fix this problem using default settings?

Thanks,
Ravi
Hello,
I gone through forums but didn't find any solution. Anybody tried to implement multiple popups?

Can any ICEFaces developers please respond on this?
 
Profile for r1a1v1i1 -> Messages posted by r1a1v1i1 [68] Go to Page: 1, 2, 3, 4, 5 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team