myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Starets <max.star...@oracle.com>
Subject Re: Apache Trinidad 2.0 - java.io.IOException: Not in GZIP format
Date Thu, 27 Dec 2012 12:07:25 GMT
Parthiv,

I would try logging the state staring you are sending to the server. 
Perhaps something is happening during a previous request, and your test 
script is unable to extract javax.faces.ViewState parameter. You would 
get this message if the parameter value is empty.

Max


On 12/26/2012 6:28 AM, parthiv pradhan wrote:
> Hi,
>
> We have an application which is developed on Apache trinidad 2.0.
> we have the following setting in our web.xml -
>
> <context-param>
> <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
> <param-value>client</param-value>
> </context-param>
> <context-param>
> <param-name>org.apache.myfaces.COMPRESS_STATE_IN_SESSION</param-name>
> <param-value>false</param-value>
> </context-param>
> <context-param>
> <param-name>org.apache.myfaces.SERIALIZE_STATE_IN_SESSION</param-name>
> <param-value>false</param-value>
> </context-param>
>
> <context-param>
> <param-name>org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKENS</param-name>
> <param-value>8</param-value>
> </context-param>
> <context-param>
> <param-name>org.apache.myfaces.trinidad.COMPRESS_VIEW_STATE</param-name>
> <param-value>true</param-value>
> </context-param>
> <context-param>
> <param-name>org.apache.myfaces.trinidad.CACHE_VIEW_ROOT</param-name>
> <param-value>false</param-value>
> </context-param>
>
>
>
> Any idea why In high load during performance test for 150 concurrent 
> user following exceptions are thrown.
>
> 2012-12-25 21:17:45,190 SEVERE 
> [org.apache.myfaces.trinidadinternal.renderkit.core.CoreResponseStateManager] 
> (http-10.44.40.108-8280-3)
> java.io.IOException: Not in GZIP format
>         at 
> java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:154)
>         at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:75)
>         at 
> org.apache.myfaces.trinidadinternal.renderkit.core.CoreResponseStateManager._restoreSerializedView(CoreResponseStateManager.java:289)
>         at 
> org.apache.myfaces.trinidadinternal.renderkit.core.CoreResponseStateManager.getTreeStructureToRestore(CoreResponseStateManager.java:146)
>         at 
> javax.faces.render.ResponseStateManager.getState(ResponseStateManager.java:249)
>         at 
> org.apache.myfaces.trinidadinternal.renderkit.core.CoreResponseStateManager.getState(CoreResponseStateManager.java:69)
>         at 
> org.apache.myfaces.trinidadinternal.application.StateManagerImpl.restoreView(StateManagerImpl.java:764)
>         at 
> com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:123)
>         at 
> com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:452)
>         at 
> org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.restoreView(ViewDeclarationLanguageFactoryImpl.java:335)
>         at 
> com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:148)
>         at 
> javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:303)
>         at 
> javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:303)
>         at 
> org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:242)
>         at 
> com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:192)
>         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
>         at 
> com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116)
>         at 
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
>         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>                                                                                     
                                                      
> 267801,11     99%
>
>
>
>
> thanks
> Parthiv

Mime
View raw message