Darrel Schneider created GEODE-4798:

             Summary: JdbcConnectorException can not be deserialized
                 Key: GEODE-4798
                 URL: https://issues.apache.org/jira/browse/GEODE-4798
             Project: Geode
          Issue Type: Bug
          Components: regions
            Reporter: Darrel Schneider

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:

It returns a text file with a whitelist.

Add a test likeĀ 

This message was sent by Atlassian JIRA

Reply via email to