0 Replies Latest reply on Sep 12, 2007 10:30 AM by s j

    Setting UseJBossWebLoader=true gives error in JSF Web app

    s j Newbie

      I changed the UseJBossWebLoader property to true in jboss-4.2.0.GA\server\default\deploy\jboss-web.deployer\META-INF\jboss-service.xml. After this change, I am unable to run my JSF web app. I get the following error when I access my app from IE:

      java.lang.UnsupportedOperationException
      javax.faces.context.FacesContext.getELContext(FacesContext.java:137)
      javax.faces.component.UIViewRoot.setLocale(UIViewRoot.java:888)
      org.apache.myfaces.application.jsp.JspViewHandlerImpl.createView(JspViewHandlerImpl.java:130)
      com.sun.facelets.FaceletViewHandler.createView(FaceletViewHandler.java:639)
      org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:144)
      org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      When I change it back to false, it works fine. What could be the problem?