24 1385 [main] WARN org.apache.tinkerpop.gremlin.server.GremlinServer - Graph [graph] configured at [conf/gremlin-server/janusgraph-cql-es-server.properties] could not be instantiated an d will not be available in Gremlin Server. GraphFactory message: GraphFactory could not instantiate this Graph implementation [class org.janusgraph.core.JanusGraphFactory]
25 java.lang.RuntimeException: GraphFactory could not instantiate this Graph implementation [class org.janusgraph.core.JanusGraphFactory]
26 at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:82)
27 at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:70)
28 at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:104)
29 at org.apache.tinkerpop.gremlin.server.util.DefaultGraphManager.lambda$new$0(DefaultGraphManager.java:57)
30 at java.util.LinkedHashMap$LinkedEntrySet.forEach(LinkedHashMap.java:671)
31 at org.apache.tinkerpop.gremlin.server.util.DefaultGraphManager.<init>(DefaultGraphManager.java:55)
32 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
33 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
34 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
35 at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
36 at org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor.<init>(ServerGremlinExecutor.java:80)
37 at org.apache.tinkerpop.gremlin.server.GremlinServer.<init>(GremlinServer.java:120)
38 at org.apache.tinkerpop.gremlin.server.GremlinServer.<init>(GremlinServer.java:84)
39 at org.apache.tinkerpop.gremlin.server.GremlinServer.main(GremlinServer.java:343)
40 Caused by: java.lang.reflect.InvocationTargetException
41 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
42 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
43 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
44 at java.lang.reflect.Method.invoke(Method.java:498)
45 at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:78)
46 ... 13 more
47 Caused by: java.lang.IllegalArgumentException: Could not instantiate implementation: org.janusgraph.diskstorage.cql.CQLStoreManager
48 at org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:64)
49 at org.janusgraph.diskstorage.Backend.getImplementationClass(Backend.java:476)
50 at org.janusgraph.diskstorage.Backend.getStorageManager(Backend.java:408)
51 at org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration.<init>(GraphDatabaseConfiguration.java:1254)
52 at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:160)
53 at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:131)
54 at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:111)
55 ... 18 more
56 Caused by: java.lang.reflect.InvocationTargetException
57 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
58 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
59 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
60 at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
61 at org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:58)
62 ... 24 more
63 Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /
67.163.64.9:9042 (com.datastax.driver.core.exceptions.TransportException: [/<xx.xx.xx.xx>:9042] Cannot connect))
64 at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:232)
65 at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:79)
66 at com.datastax.driver.core.Cluster$Manager.negotiateProtocolVersionAndConnect(Cluster.java:1600)
67 at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1518)
So I am at the point of trying to debug "
All host(s) tried for query failed (tried: /67.163.64.9:9042 (com.datastax.driver.core.exceptions.TransportException: [/<xx.xx.xx.xx>:9042] Cannot connect)" error. I have opened up xx.xx.xx.xx/9042 port on my router and my server machine. I test it with:
cat < /dev/tcp/xx.xx.xx.xx/9042 and get "Connection refused"
Am I still at a networking problem or am I going about the whole process incorrectly?
Regards
Al