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:
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)