2 Replies Latest reply on Nov 23, 2006 4:33 PM by Gavin King

    java.lang.UnsupportedOperationException - exception in Phase

    zzzz8 Newbie

      I have deployed my ear on JBoss 4.0.5 GA with Seam 1.1 Beta 2 and Facelets.

      What happens is that my web app automatically does hard page refreshes (I'm getting close to using ICEfaces so that I don't have hard page refreshes, but it's still a few weeks away). The user, via a select menu on a corner of a screen, can choose how often the page refreshes (i.e. 5, 10, 30, 60 seconds - or can turn the refresh off). Here's the relevant snippet of Facelets markup:

      <h:form>
       <h:outputText escape="true" value="#{messages.HardHTMLRefreshRate}" />
       <h:selectOneMenu value="#{sessionScope.HardHTMLRefreshRate}"
       onchange="submit()" styleClass="refreshRateSelectOneMenuClass">
       <f:selectItems value="#{refreshRateList}" />
       </h:selectOneMenu>
       </h:form>


      So the refreshRateList bean basically lists the 5, 10, 30, 60, and Off refresh rate options and sets it into the session scope variable HardHTMLRefreshRate. I have a response side web filter that essentially hard codes it into the HTTP headers:

      import java.io.IOException;
      
      import javax.servlet.Filter;
      import javax.servlet.FilterChain;
      import javax.servlet.FilterConfig;
      import javax.servlet.ServletException;
      import javax.servlet.ServletRequest;
      import javax.servlet.ServletResponse;
      import javax.servlet.http.HttpServletRequest;
      import javax.servlet.http.HttpServletResponse;
      import javax.servlet.http.HttpSession;
      
      /**
       * @web.filter name="RefreshRateFilter"
       * @web.filter-mapping url-pattern="/*"
       */
      public class RefreshRateFilter implements Filter {
      
       private FilterConfig fc;
      
       public final void init(final FilterConfig config) throws ServletException {
       this.fc = config;
       }
      
       public final void doFilter(final ServletRequest req,
       final ServletResponse resp, final FilterChain chain)
       throws ServletException, IOException {
       chain.doFilter(req, resp);
      
       HttpServletRequest httpReq = (HttpServletRequest) req;
       HttpServletResponse httpResp = (HttpServletResponse) resp;
       HttpSession session = httpReq.getSession();
      
       synchronized (session) {
       if (session.getAttribute("HardHTMLRefreshRate") == null) {
       if (((String) session.getServletContext().getInitParameter(
       "HardHTMLRefreshRate")).compareToIgnoreCase("Off") != 0) {
       httpResp.setHeader("Refresh", (String) session
       .getServletContext().getInitParameter(
       "HardHTMLRefreshRate"));
       }
       } else {
       if (((String) session.getAttribute("HardHTMLRefreshRate"))
       .compareToIgnoreCase("Off") != 0) {
       httpResp.setHeader("Refresh", (String) session
       .getAttribute("HardHTMLRefreshRate"));
       }
       }
       }
      
       }
      
       public void destroy() {
       }
      }


      So this filter initially reads the web.xml for the initial HardHTMLRefreshRate value.

      I'm not sure if this matters, but I have another response-side filter in the chain that sets a bunch of HTTP header values:

      import java.io.IOException;
      
      import javax.servlet.Filter;
      import javax.servlet.FilterChain;
      import javax.servlet.FilterConfig;
      import javax.servlet.ServletException;
      import javax.servlet.ServletRequest;
      import javax.servlet.ServletResponse;
      import javax.servlet.http.HttpServletResponse;
      
      /**
       * @web.filter name="SecurityFilter"
       * @web.filter-mapping url-pattern="/*"
       */
      public class SecurityFilter implements Filter {
      
       private FilterConfig fc;
      
       public final void init(final FilterConfig config) throws ServletException {
       // this.fc = config;
       }
      
       public final void doFilter(final ServletRequest req,
       final ServletResponse resp, final FilterChain chain)
       throws ServletException, IOException {
       chain.doFilter(req, resp);
      
       HttpServletResponse httpResp = (HttpServletResponse) resp;
      
       httpResp.setHeader("Pragma", "no-cache");
       httpResp.setHeader("Cache-Control",
       "no-cache, no-store, must-revalidate");
       httpResp.setHeader("Expires", "0");
       }
      
       public void destroy() {
       }
      
      }


      But essentially what happens is when the user selects a new refresh rate from the select menu, my application shows the stack trace below.

      I'm getting the following error:

      11:54:36,208 ERROR [PhaseListenerManager] Exception in PhaseListener RESTORE_VIE
      W(1) afterPhase
      java.lang.UnsupportedOperationException
       at java.util.AbstractMap.put(AbstractMap.java:228)
       at org.jboss.seam.contexts.PageContext.set(PageContext.java:90)
       at org.jboss.seam.Component.newInstance(Component.java:1674)
       at org.jboss.seam.Component.getInstance(Component.java:1583)
       at org.jboss.seam.Component.getInstance(Component.java:1564)
       at org.jboss.seam.Component.getInstance(Component.java:1546)
       at org.jboss.seam.core.FacesPage.instance(FacesPage.java:85)
       at org.jboss.seam.core.Manager.restoreConversation(Manager.java:414)
       at org.jboss.seam.jsf.AbstractSeamPhaseListener.afterRestoreView(Abstrac
      tSeamPhaseListener.java:50)
       at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.jav
      a:67)
       at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListener
      sAfter(PhaseListenerManager.java:89)
       at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.
      java:181)
       at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java
      :66)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(Extensions
      Filter.java:97)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at mycompany.filter.RefreshRateFilter.doFilter(RefreshRateF
      ilter.java:100)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at mycompany.filter.SecurityFilter.doFilter(SecurityFilter.
      java:93)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilt
      er.java:46)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter
      .java:32)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(Extensions
      Filter.java:144)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:175)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
      torBase.java:524)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
       at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
      ctionValve.java:156)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
       at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
      lowerWorkerThread.java:80)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
      ool.java:684)
       at java.lang.Thread.run(Thread.java:595)
      11:54:36,208 ERROR [PhaseListenerManager] Exception in PhaseListener RESTORE_VIE
      W(1) afterPhase
      java.lang.NullPointerException
       at org.apache.myfaces.renderkit.html.util.AutoScrollPhaseListener.afterP
      hase(AutoScrollPhaseListener.java:52)
       at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListener
      sAfter(PhaseListenerManager.java:89)
       at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.
      java:181)
       at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java
      :66)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(Extensions
      Filter.java:97)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at mycompany.filter.RefreshRateFilter.doFilter(RefreshRateF
      ilter.java:100)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at mycompany.filter.SecurityFilter.doFilter(SecurityFilter.
      java:93)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilt
      er.java:46)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter
      .java:32)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(Extensions
      Filter.java:144)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:175)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
      torBase.java:524)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
       at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
      ctionValve.java:156)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
       at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
      lowerWorkerThread.java:80)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
      ool.java:684)
       at java.lang.Thread.run(Thread.java:595)
      11:54:36,338 ERROR [SeamExceptionFilter] uncaught exception handled by Seam
      javax.servlet.ServletException: java.lang.ClassNotFoundException: No ClassLoader
      s found for: mycompany.converter.MyConverter
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(Extensions
      Filter.java:97)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at mycompany.filter.RefreshRateFilter.doFilter(RefreshRateF
      ilter.java:100)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at mycompany.filter.SecurityFilter.doFilter(SecurityFilter.
      java:93)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilt
      er.java:46)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter
      .java:32)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(Extensions
      Filter.java:144)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:175)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
      torBase.java:524)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
       at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
      ctionValve.java:156)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
       at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
      lowerWorkerThread.java:80)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
      ool.java:684)
       at java.lang.Thread.run(Thread.java:595)
      11:54:36,338 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet
       threw exception
      javax.faces.FacesException: java.lang.ClassNotFoundException: No ClassLoaders fo
      und for: mycompany.converter.MyConverter
       at org.apache.myfaces.shared_impl.util.StateUtils.getAsObject(StateUtils
      .java:314)
       at org.apache.myfaces.shared_impl.util.StateUtils.reconstruct(StateUtils
      .java:241)
       at org.apache.myfaces.renderkit.html.HtmlResponseStateManager.getCompone
      ntStateToRestore(HtmlResponseStateManager.java:221)
       at org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreCompone
      ntState(JspStateManagerImpl.java:186)
       at org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(Js
      pStateManagerImpl.java:287)
       at org.jboss.seam.jsf.SeamStateManager.restoreView(SeamStateManager.java
      :49)
       at org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(Jsp
      ViewHandlerImpl.java:255)
       at org.jboss.seam.jsf.SeamViewHandler.restoreView(SeamViewHandler.java:6
      4)
       at com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.ja
      va:353)
       at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.
      java:141)
       at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java
      :66)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(Extensions
      Filter.java:97)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at mycompany.filter.RefreshRateFilter.doFilter(RefreshRateF
      ilter.java:100)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at mycompany.filter.SecurityFilter.doFilter(SecurityFilter.
      java:93)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilt
      er.java:46)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter
      .java:32)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(Extensions
      Filter.java:144)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:175)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
      torBase.java:524)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
       at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
      ctionValve.java:156)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
       at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
      lowerWorkerThread.java:80)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
      ool.java:684)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: com.boei
      ng.ca.dst.tdrs.converter.MyConverter
       at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
       at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl
      assLoader.java:511)
       at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassL
      oader.java:405)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
       at java.lang.Class.forName0(Native Method)
       at java.lang.Class.forName(Class.java:242)
       at java.io.ObjectInputStream.resolveProxyClass(ObjectInputStream.java:64
      6)
       at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1494)
       at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457)
       at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
      693)
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
       at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:19
      12)
       at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
      
       at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
      713)
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
       at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1628)
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1293)
       at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1628)
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1293)
       at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1628)
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1293)
       at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
       at java.util.ArrayList.readObject(ArrayList.java:591)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919
      )
       at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813)
      
       at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
      713)
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
       at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1628)
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1293)
       at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
       at java.util.ArrayList.readObject(ArrayList.java:591)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919
      )
       at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813)
      
       at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
      713)
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
       at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1628)
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1293)
       at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
       at java.util.ArrayList.readObject(ArrayList.java:591)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919
      )
       at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813)
      
       at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
      713)
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
       at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1628)
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1293)
       at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
       at org.apache.myfaces.shared_impl.util.StateUtils.getAsObject(StateUtils
      .java:305)
       ... 50 more


      An interesting thing is that the hard refresh mechanism seems to work fine (until the user chooses a new refresh rate) - i.e. the page refreshes normally within the specified interval. And another thing - this application worked fine when it was on Tomcat 5.5.15/Seam 1.0.1 GA/Tiles. I think I've migrated to an ear correctly (the other things initially work OK).... What is going on here? Thanks.