0 Replies Latest reply on May 17, 2009 4:04 AM by Christian Figueroa

    java.lang.ClassCastException: org.jboss.seam.faces.FacesManager cannot be cast to org.jboss.seam.core.Manager

    Christian Figueroa Newbie

      Hello all seam users, well this is my first post, altough i've using seam from almost a year.


      We developed a seam app a year ago with seam 2.0.1, richfaces and Jboss 4.2.2 and it has been used in production for months, but two weeks ago web have been receiving (ocassionally) a very strange error. the page with the error is:



      HTTP Status 500 -
      
      type Exception report
      
      message
      
      description The server encountered an internal error () that prevented it from fulfilling this request.
      
      exception
      
      java.lang.ClassCastException: org.jboss.seam.faces.FacesManager cannot be cast to org.jboss.seam.core.Manager
           org.jboss.seam.web.ExceptionFilter.endWebRequestAfterException(ExceptionFilter.java:90)
           org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:70)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
           org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
           org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
           org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
           org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
           org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      note The full stack trace of the root cause is available in the JBossWeb/2.0.1.GA logs.



      The error occurs then users click in any link. Recently this jboss also deploy two more seam apps


      Since a month ago, Jboss now deploy two more seam apps, one with seam 2.1 and other with seam 2.0.1 conforming a total of 3 apps. We have not permGen problems


      any thoughts?


      regards, Christian