1 Reply Latest reply on Oct 6, 2003 2:32 PM by ttanimal

    IllegalStateException: Cannot create a session after the res

    ttanimal Newbie

      I'm getting:

      19:36:19,750 ERROR [Engine] JspFactoryImpl: Exception initializing page context
      java.lang.IllegalStateException: Cannot create a session after the response has been committed
      at org.apache.coyote.tomcat4.CoyoteRequest.doGetSession(CoyoteRequest.java:1884)
      at org.apache.coyote.tomcat4.CoyoteRequest.getSession(CoyoteRequest.java:1731)
      at org.apache.coyote.tomcat4.CoyoteRequestFacade.getSession(CoyoteRequestFacade.java:365)
      at org.apache.coyote.tomcat4.CoyoteRequestFacade.getSession(CoyoteRequestFacade.java:375)
      at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:268)
      at org.apache.jasper.runtime.PageContextImpl._initialize(PageContextImpl.java:138)
      at org.apache.jasper.runtime.PageContextImpl.initialize(PageContextImpl.java:114)
      at org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFactoryImpl.java:175)
      at org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.java:154)
      at org.apache.jsp.MainNav_jsp._jspService(MainNav_jsp.java:44)




      44: pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true);


      Why is this? This used to work with a previous version of JBOSS.