Could not contact any RepNode
semitsJan 26 2013 — edited Jan 28 2013Greetings All...
Having a bit of a problem. Have installed kv-2.0.23 on RHEL 6 64 bit. Everything went smoothly having carefully followed the instructions.
Running the ping command, $JAVA_HOME/java -jar $KVHOME/lib/kvstore-2.0.23.jar ping -port 5003 -host localhost
I get back the correct response. Same is true when using an IP address or name of the server.
However, when I attempt to run the HelloBigData example
$JAVA_HOME/java -cp $KVHOME/lib/kvclient-2.0.23.jar:$KVHOME/examples hello.HelloBigDataWorld -host localhost -port 5003 -store firststore
I get the following...
oracle.kv.FaultException: Could not contact any RepNode at: [localhost:5003] (11.2.2.0.23)
Fault class name: oracle.kv.KVStoreException
at oracle.kv.KVStoreFactory.getStore(KVStoreFactory.java:89)
at hello.HelloBigDataWorld.<init>(HelloBigDataWorld.java:91)
at hello.HelloBigDataWorld.main(HelloBigDataWorld.java:46)
Caused by: oracle.kv.KVStoreException: Could not contact any RepNode at: [localhost:5003]
at oracle.kv.impl.util.TopologyLocator.getInitialTopology(TopologyLocator.java:198)
at oracle.kv.impl.util.TopologyLocator.get(TopologyLocator.java:57)
at oracle.kv.impl.api.RequestDispatcherImpl.<init>(RequestDispatcherImpl.java:255)
at oracle.kv.KVStoreFactory.getStore(KVStoreFactory.java:84)
... 2 more
This holds true if I change the host to an IP address or the servers name. Under netstat I see that port 5003 is set to LISTEN as is the Admin port 5004. I also see port 5010 set to LISTEN as well...
Any ideas as to this problem? Much thanks in advance...