Menu

#1068 Clustering failed with AnnotateDataBinder

3.0.5
closed
nobody
General (233)
5
2008-08-22
2008-08-04
J2O
No

The AnnotateDataBinder class is not implementing Serializable. Thus, in a clustering environment, server will throw exception and failed to synchronize the session due to AnnotateDataBinder is not serializable.

To re-product the problem, just created a clustered environment and have a simple page that will init and use AnnotateDataBinder. I have used the following:

<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit"?>

Discussion

  • Henri Chen

    Henri Chen - 2008-08-19

    Logged In: YES
    user_id=89247
    Originator: NO

    by joeyjoo:

    Add Serialiazable on the following class:
    Binding
    BindingNode
    CollectionItem
    DataBinder
    DataBinder.LoadOnSaveEventListener
    TypeConverter

     
  • Tom M. Yeh

    Tom M. Yeh - 2008-08-22
    • status: open --> closed
     

Log in to post a comment.