You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by gc...@apache.org on 2010/04/08 23:51:21 UTC
svn commit: r932135 -
/myfaces/trinidad/trunk/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/LoggerBundle.xrts
Author: gcrawford
Date: Thu Apr 8 21:51:20 2010
New Revision: 932135
URL: http://svn.apache.org/viewvc?rev=932135&view=rev
Log:
TRINIDAD-1747 zip page state to reduce live memory
improve the log message for when zipping fails
Modified:
myfaces/trinidad/trunk/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/LoggerBundle.xrts
Modified: myfaces/trinidad/trunk/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/LoggerBundle.xrts
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/LoggerBundle.xrts?rev=932135&r1=932134&r2=932135&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/LoggerBundle.xrts (original)
+++ myfaces/trinidad/trunk/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/LoggerBundle.xrts Thu Apr 8 21:51:20 2010
@@ -454,7 +454,7 @@
<resource key="COMPARETO_TYPE_MISMATCH">The type for "{0}" prevents it from being compared to "{1}".</resource>
<!-- ZIP_STATE_FAILED -->
-<resource key="ZIP_STATE_FAILED">Failed to zip the page state.</resource>
+<resource key="ZIP_STATE_FAILED">Failed to zip the page state. The state must be serializable to be zipped, so a common reason the page state fails to zip is that the page state is not serializable. You can turn off zipping by setting org.apache.myfaces.trinidadinternal.COMPRESS_VIEW_STATE to false. See the doc about system property org.apache.myfaces.trinidad.CHECK_STATE_SERIALIZATION for how to test various aspects of serialization.</resource>
<!-- UNZIP_STATE_FAILED -->
<resource key="UNZIP_STATE_FAILED">Failed to unzip the page state.</resource>