You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geode.apache.org by Hovhannes Antonyan <ha...@vmware.com> on 2017/02/16 18:46:26 UTC

tcp-port should be 0 when "cluster-ssl-enabled" is true?

Hi Everyone,

We are getting following error with geode version 1.0.0-incubating when constructing gemfire cache:

java.lang.IllegalArgumentException: Could not set "tcp-port" to "…." because its value must be 0 when "cluster-ssl-enabled" is true.
                at org.apache.geode.distributed.internal.AbstractDistributionConfig.checkTcpPort(AbstractDistributionConfig.java:122)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                at org.apache.geode.distributed.internal.AbstractDistributionConfig.checkAttribute(AbstractDistributionConfig.java:84)
                at org.apache.geode.distributed.internal.DistributionConfigImpl.validateConfigurationProperties(DistributionConfigImpl.java:1028)
                at org.apache.geode.distributed.internal.DistributionConfigImpl.<init>(DistributionConfigImpl.java:934)
                at org.apache.geode.distributed.internal.DistributionConfigImpl.<init>(DistributionConfigImpl.java:818)
                at org.apache.geode.distributed.internal.InternalDistributedSystem.<init>(InternalDistributedSystem.java:466)
                at org.apache.geode.distributed.internal.InternalDistributedSystem.newInstance(InternalDistributedSystem.java:298)
                at org.apache.geode.distributed.DistributedSystem.connect(DistributedSystem.java:237)
                at org.apache.geode.cache.CacheFactory.create(CacheFactory.java:229)

There is no such issue with 1.0.0-incubating.m3 nor with gemfire..
Any thoughts?

Regards,
Hovhannes