[ https://issues.apache.org/jira/browse/GEODE-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Baker closed GEODE-4798. -------------------------------- > 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 > Assignee: Nick Reich > Priority: Major > Fix For: 1.6.0 > > > 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 (v7.6.3#76005)