The moose likes JSF and the fly likes jsf 1.2 exception problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "jsf 1.2 exception problem" Watch "jsf 1.2 exception problem" New topic

jsf 1.2 exception problem

betul aydin

Joined: Jan 08, 2008
Posts: 19
I am getting this exception while I click button for invoking method.
I use jsf1.2+richfaces 3.2.0 sr1+ajax4jsf 1.1
At first I havent got any problem everything work.But when my page is ataying open so long.and I click the button on my page this exception have been occured.

09 Jun 2008 13:12:30 ERROR [org.apache.myfaces.lifecycle.PhaseListenerManager] - Exception in PhaseListener RESTORE_VIEW(1) afterPhase
at org.apache.myfaces.renderkit.html.util.AutoScrollPhaseListener.afterPhase(
at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(
at javax.faces.webapp.FacesServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(
at org.ajax4jsf.webapp.BaseFilter.handleRequest(
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(
at org.ajax4jsf.webapp.BaseFilter.doFilter(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(
at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.valves.AccessLogValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11Processor.process(
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

I hate messages like that.

It sounds like your session is timing out and being discarded. So (much) later when you refer to the session data on the next page request, it isn't there anymore.

One solution is to make the session timeout period longer. Set this in web.xml

An IDE is no substitute for an Intelligent Developer.
betul aydin

Joined: Jan 08, 2008
Posts: 19
Your suggestion solved my problem.Thanks
I agree. Here's the link:
subject: jsf 1.2 exception problem
It's not a secret anymore!