0 Replies Latest reply on Nov 27, 2009 8:46 PM by Phil Wilson

    OutOfMemoryError: Java heap space / changed <%@ include / js

    Phil Wilson Apprentice

      Hi Guys,

      I changed my includes from

      <%@ include file="common/headerRich.jsp" %>
      to
      <jsp:include page="common/headerRich.jsp" flush = "true" />
      


      This fixed my issues with FacesContext is null errors in the log files.

      ========================================

      Now I get this error..
      Nov 27, 2009 8:10:22 PM com.sun.faces.lifecycle.Phase doPhase
      SEVERE: JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /profileView.jsp) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@b63dfe]
      2009-11-27 20:10:22,515 ERROR org.ajax4jsf.webapp.BaseXMLFilter org.ajax4jsf.webapp.BaseXMLFilter doXmlFilter - Exception in the filter chain
      javax.servlet.ServletException: java.lang.OutOfMemoryError: Java heap space
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
       at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
       at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473)