Hi Jackie,

Most likely you don't have the JAR for your class installed on the server.
Geode doesn't deserialize objects unless it needs to, but instead stores
them in serialized form (the same form it reads from off the wire). The
client (which does have the JAR installed) is able to serialize the object
and read the object back from the same client, without it ever having been
deserialized on the server. However, using GFSH queries requires the server
to deserialize the object to see what it is.

If you deploy the JAR on your server, it should solve your problems.

For more information on deploying JARs, see:
https://geode.apache.org/docs/guide/10/configuring/cluster_config/deploying_application_jars.html

Best,
Galen


On Thu, Oct 26, 2017 at 7:41 AM, Jackie FamilyName <lwp...@gmail.com> wrote:

>
>
> Hi All,
>
> I am a newbie trying to use geode.
>
>
>
> So far it works well on the client side, I am able to save and retrieve
> the object successfully from client side:
>
>
>
> [image: cid:image001.png@01D34EAA.BAA92350]
>
>
>
> However, from the server side, I am scratching my head, still cannot
> figure out why it’s complaining about serialization exception:
>
> [image: cid:image002.png@01D34EAA.DE2AF380]
>
>
>
>
>
> [image: cid:image003.png@01D34EAA.F2B40FD0]
>
>
>
> Could anybody please enlighten me here ?
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
>
>

Reply via email to