3 Replies Latest reply on Oct 26, 2007 4:07 AM by shane.bryzak

    Cannot create a session after the response has been committe

    rlao

      I was wondering if anyone has run into this problem and give me a little direction. We have an application which run great on firefox and IE (if IE is on the same machine as the webserver) but has a problem on IE where if the browser is on a different machine than the webserver. After logging in, when trying to navigate to other pages of the application, it gets thrown back to sign-on screen with the following error:


      java.lang.IllegalStateException: Cannot create a session after the response has been committed
      at org.apache.catalina.connector.Request.doGetSession(Request.java:2221)
      at org.apache.catalina.connector.Request.getSession(Request.java:2031)
      at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:832)
      at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:843)
      at org.jboss.seam.remoting.SeamRemotingServlet.doPost(SeamRemotingServlet.java:93)
      at org.jboss.seam.remoting.SeamRemotingServlet.doGet(SeamRemotingServlet.java:64)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
      at java.lang.Thread.run(Unknown Source)

      Thanks for your help in advance.