Querying objects serialized with ReflectionBasedAutoSerializer from gfsh on GemFire 6.6.x fails with the error: not deserialize pdx because a PdxSerializer does not exist
book
Article ID: 294080
calendar_today
Updated On:
Products
VMware Tanzu Gemfire
Issue/Introduction
Symptoms: Querying objects serialized with ReflectionBasedAutoSerializer from gfsh on GemFire 6.6.x fails with the error: not deserialize pdx because a PdxSerializer does not exist.
Cannot query objects serialized with ReflectionBasedAutoSerializer from gfsh in GemFire 6.6.x
Querying objects serialized with ReflectionBasedAutoSerializer fails with a PdxSerializationException:
gfsh:/>select -l 5
gfsh:/>select * from /MyPDXRegion
Error: PdxSerializationException -- Could not deserialize pdx because a PdxSerializer does not exist.
Environment
Cause
This issue occurs because a PdxSerializer does not exist.
Resolution
To resolve this issue, you must prepare a Pdx Serializer before starting gfsh:
Create your cache.xml for gfsh, such as gfsh-cache.xml, similar to: