1 Reply Latest reply on Mar 7, 2006 3:07 AM by Dirk Gutsche

    Exception in ReplyHeaderFilter.doFilter on JBoss with MyFace

    Dirk Gutsche Newbie

      Hi everybody,

      I have a J2EE/MyFaces project running on JBoss 4.0.3 SP1.
      Everything worked fine until my data structures became bigger and more complex. Now always after a short time of working I get this exception, no matter what kind of actions I perform. I'm new to web development and Java, and I don't have any idea how I could debug an error like this.

      Has anyone experienced this before? Any help appreciated!

      Greetings,
      DC

      ---

      HTTP Status 500 -

      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      javax.servlet.ServletException: Filter execution threw an exception
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

      root cause

      java.lang.OutOfMemoryError: Java heap space

      note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.
      Apache Tomcat/5.5.9

        • 1. Re: Exception in ReplyHeaderFilter.doFilter on JBoss with My
          Dirk Gutsche Newbie

          This time I got a little more info.
          Is there maybe any way I can increase the Java heap space??

          ---

          HTTP Status 500 -

          type Exception report

          message

          description The server encountered an internal error () that prevented it from fulfilling this request.

          exception

          javax.servlet.ServletException: ServletException in '/document.jsp': Java heap space
          javax.faces.webapp.FacesServlet.service(FacesServlet.java:123)
          org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:129)
          org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

          root cause

          javax.faces.FacesException: ServletException in '/document.jsp': Java heap space
          org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:422)
          org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.dispatch(JspTilesViewHandlerImpl.java:233)
          org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:219)
          org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:372)
          javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
          org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:129)
          org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

          note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.
          Apache Tomcat/5.5.9