I'm trying out GF by following the docs [1] and I found a few issue when running the tutorial in vFabric_GemFire_701_b40235/SampleCode/tutorial:
The tutorial on src/com/gemstone/gemfire/tutorial/storage/GemfireDAO.java defines the locator as "localhost[port]". I changed that to "ip[port]" (both for peer and clients) and recompiled. The tutorial still runs fine, but as soon as I try to start a client in a different node (a virtual machine) it stops working:
- When I run the peer I can see it connecting to the locator (with netstat on the first host), but it takes a long time to connect (over 10 secs) and the data is not shared between peers (should it be shared on this case?).
- When I run the client it doesn't even start, it throws a NoSubscriptionServersAvailableException after printing "Could not initialize a primary queue on startup. No queue servers available". I haven't found much info about this exception, what does it mean?
Should the tutorial work on a different node for both setups (client and peer)? I'm not sure about the peer setup but I understand it should work for the client.
Thanks
PS: There's no firewall or anything else limiting the connection between VMs.