[ 
https://issues.apache.org/jira/browse/GEODE-7944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jakov Varenina updated GEODE-7944:
----------------------------------
    Description: 
During the creation of pool in geode native with subscription "enabled" 
exception java.io.EOFException is thrown on locator only when it is configured 
with _--log-level=debug_. On geode native this reflects with "No locators 
available". You can find native_client.log and locator.log in attachment.

Native client code: 
{code:java}
auto cache = cacheFactory.create();
auto poolFactory = cache.getPoolManager().createFactory();
auto pool = poolFactory.addLocator("localhost", 10334)
.setSubscriptionEnabled(true)
.create("pool");
{code}

With java client everything works OK.

  was:
During the creation of pool in geode native with subscription "enabled" 
exception java.io.EOFException is thrown on locator only when it is configured 
with _--log-level=debug_. On geode native this reflects with "No locators 
available". You can find native_client.log and locator.log in attachment.

Native client code: 
{color:#569cd6}auto{color}{color:#d4d4d4} cacheFactory = 
{color}{color:#dcdcaa}CacheFactory{color}{color:#d4d4d4}();{color}
{color:#569cd6}auto{color}{color:#d4d4d4} cache = 
{color}{color:#9cdcfe}cacheFactory{color}{color:#d4d4d4}.{color}{color:#dcdcaa}create{color}{color:#d4d4d4}();{color}
{color:#569cd6}auto{color}{color:#d4d4d4} poolFactory = 
{color}{color:#9cdcfe}cache{color}{color:#d4d4d4}.{color}{color:#dcdcaa}getPoolManager{color}{color:#d4d4d4}().{color}{color:#dcdcaa}createFactory{color}{color:#d4d4d4}();{color}
{color:#569cd6}auto{color}{color:#d4d4d4} pool = 
{color}{color:#9cdcfe}poolFactory{color}{color:#d4d4d4}.{color}{color:#dcdcaa}addLocator{color}{color:#d4d4d4}({color}{color:#ce9178}"localhost"{color}{color:#d4d4d4},
 {color}{color:#b5cea8}10334{color}{color:#d4d4d4}){color}
{color:#d4d4d4} 
.{color}{color:#dcdcaa}setSubscriptionEnabled{color}{color:#d4d4d4}({color}{color:#569cd6}true{color}{color:#d4d4d4}){color}
{color:#d4d4d4} 
.{color}{color:#dcdcaa}create{color}{color:#d4d4d4}({color}{color:#ce9178}"pool"{color}{color:#d4d4d4});{color}
With java client everything works OK.


> java.io.EOFException on locator only when debug is enabled and native client 
> is used
> ------------------------------------------------------------------------------------
>
>                 Key: GEODE-7944
>                 URL: https://issues.apache.org/jira/browse/GEODE-7944
>             Project: Geode
>          Issue Type: Bug
>          Components: native client
>            Reporter: Jakov Varenina
>            Priority: Major
>
> During the creation of pool in geode native with subscription "enabled" 
> exception java.io.EOFException is thrown on locator only when it is 
> configured with _--log-level=debug_. On geode native this reflects with "No 
> locators available". You can find native_client.log and locator.log in 
> attachment.
> Native client code: 
> {code:java}
> auto cache = cacheFactory.create();
> auto poolFactory = cache.getPoolManager().createFactory();
> auto pool = poolFactory.addLocator("localhost", 10334)
> .setSubscriptionEnabled(true)
> .create("pool");
> {code}
> With java client everything works OK.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to