Darrel Schneider updated GEODE-4798:
    Affects Version/s: 1.5.0

> JdbcConnectorException can not be deserialized
> ----------------------------------------------
>                 Key: GEODE-4798
>                 URL: https://issues.apache.org/jira/browse/GEODE-4798
>             Project: Geode
>          Issue Type: Bug
>          Components: regions
>    Affects Versions: 1.5.0
>            Reporter: Darrel Schneider
>            Priority: Major
> The JdbcConnectorException cannot be deserialized because it is not a 
> "trusted" class. Also the SQLException it usually wraps will also fail 
> deserialization so it might be better to not create JdbcConnectorException 
> instances whose cause is a SQLException. Instead do some type of conversion 
> of the SQLException.
> The following is some information about how to get JdbcConnectorException to 
> be trusted by the serialization code:
> Create a new DistributionService like this lucene one:
> LuceneDistributedSystemService
> geode-lucene/src/main/resources/META-INF/services/org.apache.geode.distributed.internal.DistributedSystemService
> It returns a text file with a whitelist.
> Add a test likeĀ 
> org.apache.geode.codeAnalysis.AnalyzeLuceneSerializablesJUnitTest

This message was sent by Atlassian JIRA

Reply via email to