Hi,

I am trying out Geode for the first time and having some troubles getting
started.
Any help is appreciated.

I am following the article "Geode in 5 mins" from
https://github.com/apache/incubator-geode
After starting the locator(start locator --name=locator) and the
server(start server --name=server), when I run the HelloWorld code, I see
the below exception in the client log.
I haven't changed any configurations, I have built the binaries from the
source.


[info 2015/12/29 01:46:14.477 EST <main> tid=0x1]* Running in local mode
since mcast-port was 0 and locators was empty*.
[info 2015/12/29 01:46:14.601 EST <main> tid=0x1] Pool DEFAULT started with
multiuser-authentication=false
[info 2015/12/29 01:46:14.622 EST <poolTimer-DEFAULT-2> tid=0x18]
AutoConnectionSource discovered new locators [/192.168.1.103:10334]
Exception in thread "main"
com.gemstone.gemfire.cache.client.NoAvailableServersException
at
com.gemstone.gemfire.cache.client.internal.pooling.ConnectionManagerImpl.borrowConnection(ConnectionManagerImpl.java:248)

*Last few lines of Locator log:*

[info 2015/12/29 01:15:32.377 EST locator <main> tid=0x1] Locator started
on  192.168.1.103[10334]
[info 2015/12/29 01:15:32.378 EST locator <main> tid=0x1] Starting server
location for Distribution Locator on Toshiba[10334]
[info 2015/12/29 01:15:32.416 EST locator <Pooled Message Processor 1>
tid=0x56] Created disk store cluster_config with unique id
88d02d9511a746eb-a73bdb64adda8a7f
[info 2015/12/29 01:15:32.427 EST locator <Pooled Message Processor 1>
tid=0x56] recovery region initialization took 0 ms

*Last few lines of Server log:*

[info 2015/12/29 01:24:22.649 EST server <main> tid=0x1] *No locator(s)
found with cluster configuration service*
[info 2015/12/29 01:24:22.663 EST server <main> tid=0x1] Initializing
region PdxTypes
[info 2015/12/29 01:24:22.664 EST server <main> tid=0x1] Initialization of
region PdxTypes completed
[info 2015/12/29 01:24:22.675 EST server <main> tid=0x1] Bridge server
connection listener bound to address 0.0.0.0/0.0.0.0:40404 with backlog
1,000.
[info 2015/12/29 01:24:22.684 EST server <main> tid=0x1]
ClientHealthMonitorThread maximum allowed time between pings: 60,000
[info 2015/12/29 01:24:22.695 EST server <main> tid=0x1] CacheServer
Configuration:   port=40404 max-connections=800 max-threads=0
notify-by-subscription=true socket-buffer-size=32768
maximum-time-between-pings=60000 maximum-message-count=230000
message-time-to-live=180 eviction-policy=none capacity=1 overflow
directory=. groups=[] loadProbe=ConnectionCountProbe loadPollInterval=5000
tcpNoDelay=true

Thanks,
Srikanth Manvi

Reply via email to