Korgoth of Barbaria
JJanusGraph
•Created by Korgoth of Barbaria on 4/16/2025 in #questions
ConfiguredGraphFactory works on versions<=0.6.4 but does not work with version>=1.0.0
Hi JanusGraph Folks.
I've been tinkering with the stack and JanusGraph and wanted to use ConfiguredGraphFactory in my project. What I came to observe is that JanusGraph's ConfiguredGraphFactory works with the versions less than 0.6.4. Since the major upgrade occured I cannot get it to work. To be more precise I consistently get the error
"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."
My intention was to use docker and docker compose for this, but the same issue happens when I download the fully packaged software from https://github.com/JanusGraph/janusgraph/releases
Version 0.6.4 - ConfiguredGraphFactory works with both docker (configuration and minimal setup provided further bellow) and downloaded software. When using downloaded software I would get the CQL backend running locally and then using variable JANUSGRAPH_SERVER_YAML=conf/gremlin-server/gremlin-server-configuration.yaml
Version 1.1.0 - ConfiguredGraphFactory does not work in docker or localy downloaded software.
I used same approach with locally downloaded software as with version 0.6.4 using JANUSGRAPH_SERVER_YAML=conf/gremlin-server/gremlin-server-configuration.yaml. In this case I get the error mentioned above, although the server states the ConfigurationManagementGraph
Same happens with docker-compose (docker-compsoe.yaml and properties in attachment)
3 replies