0 Replies Latest reply on Oct 12, 2009 7:36 PM by Snow White CC

    Exception while session expired event

    Snow White CC Newbie

      Hi,


      I recently upgraded my seam application from 1.2 to 2.2. I am getting an  exception while user re-logins to application during a session expired event. However, this exception is not shown on the web page. The page after the login is always the first page in the application. It seems to me that redirect.captureCurrentView is not working. This was not a problem in 1.2 version. This only happened after the upgrade.
      Following is the exception which I am getting after the login


      10:05:54,877 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing
      java.lang.ArrayIndexOutOfBoundsException: 8192
           at org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:714)
           at org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:621)
           at org.apache.coyote.http11.InternalOutputBuffer.sendHeader(InternalOutputBuffer.java:494)
           at org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1599)
           at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:934)
           at org.apache.coyote.Response.action(Response.java:183)
           at org.apache.coyote.Response.sendHeaders(Response.java:379)
           at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:305)
           at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:273)
           at org.apache.catalina.connector.Response.finishResponse(Response.java:486)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:257)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
           at java.lang.Thread.run(Unknown Source)
      10:05:54,877 ERROR [Http11Processor] Error finishing response
      java.lang.ArrayIndexOutOfBoundsException
           at java.lang.System.arraycopy(Native Method)
           at org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:683)
           at org.apache.coyote.http11.InternalOutputBuffer.sendStatus(InternalOutputBuffer.java:419)
           at org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1588)
           at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:934)
           at org.apache.coyote.Response.action(Response.java:181)
           at org.apache.coyote.http11.InternalOutputBuffer.endRequest(InternalOutputBuffer.java:379)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
           at java.lang.Thread.run(Unknown Source)


      Any help is greatly appreciated.


      Thanks