Deserialization on Java Client

Greg Whalin gwhalin at gmail.com
Thu Jul 19 12:34:06 UTC 2007


The version should not matter.  We have used both versions in production.
Still seems like an issue with your objects and how they serialize
themselves.

gw

On 7/19/07, Alexander Shvedov <Alexander.Shvedov at dataart.com> wrote:
>
> I used java client for java 1.6. Now I use 1.5 which I build from SVN
> sources.
> Alex.
>
> -----Original Message-----
> From: Oezcan Acar [mailto:acar at unitedinter.net]
> Subject: Re: RE: Deserialization on Java Client
>
> hmmm.... which java client do you use?
>
>
> -------- Original-Nachricht --------
> Datum: Thu, 19 Jul 2007 15:49:32 +0400
> Von: "Alexander Shvedov" <Alexander.Shvedov at dataart.com>
> An: "Oezcan Acar" <acar at unitedinter.net>, memcached at lists.danga.com
> Betreff: RE: Deserialization on Java Client
>
> >
> > The object included in object that cached implements Serializable and
> > all object included in that objects do that too. (included == fields)
> >
> > -----Original Message-----
> > From: Oezcan Acar [mailto:acar at unitedinter.net]
> >
> >
> > All object must implement Serializable and not of type transient.
> >
> >
> > -------- Original-Nachricht --------
> > Datum: Thu, 19 Jul 2007 14:41:47 +0400
> > Von: "Alexander Shvedov" <Alexander.Shvedov at dataart.com>
> > An: memcached at lists.danga.com
> > Betreff: Deserialization on Java Client
> >
> > > Hello!
> > >
> > > The serialization problem is solved now. I have object A which
> > contains
> > > object B as private field. Then store object A in cache. During
> > > deserialization I can get object A without problems, but when I get
> > > objectA().getB() it returns null. Does anybody have any suggestions?
> > >
> > >
> > >
> > > Thanks, Alex.
> > >
> >
> > --
> > Mit freundlichen Grüßen
> >
> > ___________________________
> >
> > Özcan Acar, Dipl. Inf(FH)
> > Vorstand
> > Smart Web Business AG
> >
> > Im Niederfeld 8
> > 65462 Gustavsburg
> >
> > +49 171 57 33 66 5
> > acar at unitedinter.net
>
> --
> Mit freundlichen Grüßen
>
> ___________________________
>
> Özcan Acar, Dipl. Inf(FH)
> Vorstand
> Smart Web Business AG
>
> Im Niederfeld 8
> 65462 Gustavsburg
>
> +49 171 57 33 66 5
> acar at unitedinter.net
>
>


-- 
Greg Whalin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20070719/fa1b8b31/attachment.htm


More information about the memcached mailing list