taylor      2004/11/02 15:27:19

  Modified:    portal/src/java/org/apache/jetspeed/pipeline/valve/impl
                        ActionValveImpl.java
  Log:
  handle illegal state exceptions in case a servlet writes to output stream during an 
action
  
  Revision  Changes    Path
  1.11      +6 -1      
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/pipeline/valve/impl/ActionValveImpl.java
  
  Index: ActionValveImpl.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/pipeline/valve/impl/ActionValveImpl.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ActionValveImpl.java      24 Aug 2004 14:25:54 -0000      1.10
  +++ ActionValveImpl.java      2 Nov 2004 23:27:19 -0000       1.11
  @@ -98,6 +98,11 @@
               log.error("Unexpected IOException in ActionValveImpl", e);
               // throw new PipelineException("Unexpected IOException in 
ActionValveImpl", e);
           }
  +        catch (IllegalStateException e)
  +        {
  +            log.error("Illegal State Exception. Response was written to in Action 
Phase", e);
  +            responseCommitted = true;
  +        }
           finally
           {
               // Check if an action was processed and if its response has been 
committed
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to