[ 
https://issues.apache.org/jira/browse/GEODE-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14958060#comment-14958060
 ] 

ASF subversion and git services commented on GEODE-405:
-------------------------------------------------------

Commit dd8740741c34ecef252522edfbd728baca9e5de7 in incubator-geode's branch 
refs/heads/feature/GEODE-397 from [~dschneider]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=dd87407 ]

GEODE-405: sameAs needs to ignore ssl-* properties

Since toProperties does not include ssl-* properties
sameAs needs to also ignore ssl-* properties.
Since the ssl-* are always copied to cluster-ssl-*
and sameAs compares these it will still return false
if the ssl-* properties had different values.


> Use of deprecated ssl-* properties can cause locator to fail to start
> ---------------------------------------------------------------------
>
>                 Key: GEODE-405
>                 URL: https://issues.apache.org/jira/browse/GEODE-405
>             Project: Geode
>          Issue Type: Bug
>          Components: core
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>            Priority: Minor
>
> If you configure one of the old ssl gemfire properties (ssl-enabled, 
> ssl-ciphers, ssl-protocols, or ssl-require-authentication) then the locator 
> may fail to start saying:
> {code}
> Caused by: java.lang.IllegalStateException: A connection to a distributed 
> system already exists in this VM.  It has the following configuration:
>   [snip]
>   ssl-enabled="true" ***(wanted "false")***
>   [snip]
>       at 
> com.gemstone.gemfire.distributed.internal.InternalDistributedSystem.validateSameProperties(InternalDistributedSystem.java:2917)
>       at 
> com.gemstone.gemfire.distributed.DistributedSystem.connect(DistributedSystem.java:1609)
>       at com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:215)
>       at 
> com.gemstone.gemfire.distributed.internal.InternalLocator.startCache(InternalLocator.java:843)
>       at 
> com.gemstone.gemfire.distributed.internal.InternalLocator.startDistributedSystem(InternalLocator.java:829)
>       at 
> com.gemstone.gemfire.distributed.internal.InternalLocator.startLocator(InternalLocator.java:409)
>       at 
> com.gemstone.gemfire.distributed.internal.InternalLocator.startLocator(InternalLocator.java:340)
>       at 
> com.gemstone.gemfire.distributed.Locator.startLocator(Locator.java:330)
>       at 
> com.gemstone.gemfire.distributed.Locator.startLocatorAndDS(Locator.java:249)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to