On Sunday 12 October 2003 11:21 pm, Curtney Jacobs wrote: > Greetings! > > I am recieving the following lines in my log file: > > <quote> > > Failed Storing persistent session attribute 'mmbase_editors_cloud'. Persistent > session values must extend java.io.serializable. > > java.io.NotSerializableException: org.mmbase.bridge.implementation.BasicCloud > > </quote> > > I have enable the ability to store session information onto filesystem, but I > am still recieving the above error. Is this an inherent mmbase code problem?
Well it's not really a problem I think. The MMBase bridge interface is not defined as to be serialisable therefore serializing "nodes" will not work. serializing nodes is not a very good idea since the real nodes can change and the nodes have methods like getRelations() wich require database access. If the node was serialized and then invoked it must find back a "cloud". I don't think it's a requirement that everything you put in the session has to be serilisable. When I look als the errro you are getting it looks like the standard mmbase editors store the Cloud instance in the session and therefore are not serialisable b.t.w there is a serialisable implementation of the bridge cloud (rmmci) but i haven't every tried if it survives a serialisation to file. > > Curtney Jacobs > -- Kees Jongenburger Mediapark C101 Hilversum +31 (0)35 6772910
