[
https://issues.apache.org/jira/browse/GEODE-7198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Diane Hardman updated GEODE-7198:
---------------------------------
Fix Version/s: (was: 1.11.0)
> C++ authinitialize example hangs
> --------------------------------
>
> Key: GEODE-7198
> URL: https://issues.apache.org/jira/browse/GEODE-7198
> Project: Geode
> Issue Type: Bug
> Components: native client
> Affects Versions: 1.8.0
> Reporter: Diane Hardman
> Assignee: Charlie Black
> Priority: Major
> Attachments: server.log
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> After building geode-native from develop branch on my mac, I then followed
> the instructions to build the geode-native examples found here:
> [https://github.com/apache/geode-native/tree/develop/examples]
> Trying to run the authinitialize example resulted in a hang.
> 1. First I needed to correct the startserver.sh script to remove spaces
> around the '=' for setting RESOLVEDPATH and AUTHENTICATOR env vars.
> 2. Running cpp-authinitialize seems to hang when executing GetCredentials:
> dhardman$ ./cpp-authinitialize
> ExampleAuthInitialize::ExampleAuthInitialize called
> ExampleAuthInitialize::GetCredentials called
> ExampleAuthInitialize::GetCredentials called
> ExampleAuthInitialize::GetCredentials called
> ExampleAuthInitialize::GetCredentials called
> ExampleAuthInitialize::GetCredentials called
> ExampleAuthInitialize::GetCredentials called
> ExampleAuthInitialize::GetCredentials called
> ExampleAuthInitialize::GetCredentials called
> ExampleAuthInitialize::GetCredentials called
> ExampleAuthInitialize::GetCredentials called
> libc++abi.dylib: terminating with uncaught exception of type
> apache::geode::client::NotConnectedException: : not connected to Geode
> Abort trap: 6
>
> Expected: The README file indicates the following output
> ExampleAuthInitialize::ExampleAuthInitialize called
> ExampleAuthInitialize::getCredentials called
> a = 1
> b = 2
--
This message was sent by Atlassian Jira
(v8.3.4#803005)