Wleong
Wleong
JJanusGraph
Created by Wleong on 11/20/2024 in #questions
Gremlin Console in v1.0.0 and v1.1.0
A weird behaviour i am facing in v1.0.0 and v1.1.0 v1.0.0
gremlin> :remote connect tinkerpop.server conf/remote.yaml session
gremlin> :remote console session
gremlin> ConfiguredGraphFactory.getGraphNames()
==>test1
gremlin> :remote connect tinkerpop.server conf/remote.yaml session
gremlin> :remote console session
gremlin> ConfiguredGraphFactory.getGraphNames()
==>test1
v1.1.0
gremlin> :remote connect tinkerpop.server conf/remote.yaml session
gremlin> :remote console session
gremlin> ConfiguredGraphFactory.getGraphNames()
org.janusgraph.graphdb.management.utils.ConfigurationManagementGraphNotEnabledException: Please add a key named "ConfigurationManagementGraph" to the "graphs" property in your YAML file and restart the server to be able to use the functionality of the ConfigurationManagementGraph class.

gremlin> :> ConfiguredGraphFactory.getGraphNames()
==>test1
gremlin> :remote connect tinkerpop.server conf/remote.yaml session
gremlin> :remote console session
gremlin> ConfiguredGraphFactory.getGraphNames()
org.janusgraph.graphdb.management.utils.ConfigurationManagementGraphNotEnabledException: Please add a key named "ConfigurationManagementGraph" to the "graphs" property in your YAML file and restart the server to be able to use the functionality of the ConfigurationManagementGraph class.

gremlin> :> ConfiguredGraphFactory.getGraphNames()
==>test1
Here if i put :> ConfiguredGraphFactory.getGraphNames() then it is successful Anyone facing similar issue?
5 replies