Hello,

Pages are serialized at the end of the request cycle (this includes at the end of ajax requests)

Look at AbstractPageStore.serializePage(...)

Specificically the call to Objects.objectToByteArray(page.getPageMapEntry()) which turns the page into a bytearray.

http://grepcode.com/file/repo1.maven.org/maven2/org.apache.wicket/wicket/1.4.10/org/apache/wicket/protocol/http/pagestore/AbstractPageStore.java#AbstractPageStore.serializePage%28org.apache.wicket.Page%29

Regards,

Mike
When exactly does a page get serialized/serialized?

On Thu, Sep 23, 2010 at 12:54 PM, Igor Vaynberg<[email protected]>wrote:

in dev serialization should happen just like in production.

-igor

On Thu, Sep 23, 2010 at 10:34 AM, Douglas Ferguson
<[email protected]>  wrote:
Hey guys,

We overwrote "IObjectStreamFactory" with a copy that has more logging and
we
found the object that is causing the problems in our production logs. Now
we
need to recreate it in a more controlled environment.

How could we  force serialization of this object in a dev environmental?

D/

On Wed, Sep 22, 2010 at 6:23 PM, Andreas Petersson<[email protected]
wrote:

  i had a very similar problem occuring in production when where was a
cluster failover. i could never reproduce it. did something strange
happen
to you like, the filesystem was partially wiped during writing?


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to