[
https://issues.apache.org/jira/browse/GEODE-7198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16928951#comment-16928951
]
Diane Hardman commented on GEODE-7198:
--------------------------------------
Another issue, why is this labeled as a warning in the server log?
[warn 2019/09/12 16:50:54.616 PDT <ServerConnection on port 40404 Thread 1>
tid=0x3e] Server connection from
[identity(0.0.0.0(default_GeodeDS:51001:loner):2:Native_cdgdecdece51001:default_GeodeDS,connection=1;
port=58813]: Security exception:
org.apache.geode.security.AuthenticationFailedException:
javaobject.SimpleAuthenticator, caused by: java.lang.ClassNotFoundException:
javaobject.SimpleAuthenticator
> C++ authinitialize example hangs
> --------------------------------
>
> Key: GEODE-7198
> URL: https://issues.apache.org/jira/browse/GEODE-7198
> Project: Geode
> Issue Type: Bug
> Components: native client
> Reporter: Diane Hardman
> Priority: Major
>
> 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.2#803003)