Wednesday, July 07, 2010

ADF Serialization of Objects testing from JDev.

Add the following to weblogic.xml:

<session-descriptor>
<cache-size>0</cache-size>
<persistent-store-type>FILE</persistent-store-type>
</session-descriptor>

Add the following to the Run/Debug java options:

-Dorg.apache.myfaces.trinidad.CHECK_STATE_SERIALIZATION=session,tree

Add this to the adf-config.xml:

<adf-controller-config xmlns="http://xmlns.oracle.com/adf/controller/config">
<adf-scope-ha-support>true</adf-scope-ha-support>
</adf-controller-config>

1 comment:

Chris Muir said...

Can you spill this out more please?

a) Are all 3 options required?
b) What sort of errors will you see, and where, if the application fails serialization.

With thanks,

CM.